harshq / react-native-mentions

Mentions textbox for React Native. Works on both ios and android. :whale:
MIT License
309 stars 82 forks source link

'trigger' property as an array #21

Closed theohdv closed 6 years ago

theohdv commented 6 years ago

I was looking for a component to manage mention suggestion in my app and I found yours. The only problem is that I also need in the same input a hashtag suggestion.

I can't do it with your component because the prop trigger only accepts a string.

Do you think we could change this to also accept an array of string (['@', '#'] for my case)?

If you think it could be added to your component but you don't have time to implement it just tell me and I will create a PR for that.

Good job for the component!

theohdv commented 6 years ago

Duplicate of #12

rupalpatel0008 commented 6 years ago

@theohdv Have to work on this?