joshswan / react-native-autolink

Automatic linking of URLs, phone numbers, emails, handles, and even custom patterns in text for React Native
MIT License
649 stars 82 forks source link

Allow custom mention and hashtag #46

Closed wassgha closed 4 years ago

joshswan commented 4 years ago

true isn't actually a supported value for those options. It may work currently, but there's no guarantee that'll continue being the case.

If the goal is to handle matches in a "custom" way, that should already be possible by picking one of the supported option values (e.g. "instagram") and using a custom onPress handler.