cawfree / react-native-twitter-textview Goto Github PK
View Code? Open in Web Editor NEWA <TextView/> component for React Native built on top of twitter-text linkification.
License: MIT License
A <TextView/> component for React Native built on top of twitter-text linkification.
License: MIT License
Hi,
I have a fix for the warning above, how can I send you a PR?
@cawfree, thank you for sharing this great component!
A clickable hashtag, as well as mention, includes a space in prefix or suffix. e.g. _hashtag
(_ is space)
@cawfree, please consider to support hashtags and mentions in CJK characters.
Another good package of yours ( the other one I found useful was twitter native embed ).
The package seems to not properly detect _
when in mention
This is the tweet link : https://twitter.com/_0nk4r_/status/1295171147936366593
and this is the tweet_text :
@impratikdabhi @trippy_bhaiya @harshbothra_ @manas_hunter @ADITYASHENDE17 @MrCyberwarrior @mrunal110 @darklotuskdb @vasim_infosec @aaditya_purani @udit_thakkur @iDiablo5 Note! People see that these guys making 8k a week and buying a phones, bikes and shit but they don't see they have also started from 0.They have invested shit ton of time and efforts to get there. So new Fellas drop your $$$$ shit and work hard and persistent .#bugbountytip
It can't detect unicode hashtags, mentions or links.
Great Component! Do you plan to support typescript?
Hello, when the text contains any skip line character it gets ignored after the parse for finding mentions.
Ex:
Original Text
Hello this is my first paragraph, it will be followed by a empty line.
Second paragrah is here!.
Visible text
Hello this is my first paragraph, it will be followed by a empty line.
Second paragrah is here!.
I've run into an issue where if an email address is in the middle of some text, like the example of the first card of the screenshot below, it seems to add everything starting with the @
and turning it into a mention. If no other text is after the email address, things work as expected.
Adding extractEmails={false}
fixes the addition of the mention but breaks the email click functionality.
I will see if I can figure out what is going on but if anyone else can help, it'd be much appreciated. I suspect part of it has to do with the regex patterns defined...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.