signavio / react-mentions

@mention people in a textarea
https://react-mentions.vercel.app
Other
2.48k stars 574 forks source link

Access mentions output from the database #409

Open verma-anushka opened 4 years ago

verma-anushka commented 4 years ago

After retrieving the value from the database, I need to display it in a customized format. ( @username with the username being a link to the user's profile which can be accessed via the id). Is there a way to achieve this functionality?

Seoudi commented 4 years ago

@verma-anushka Yes check this article it contains a solution for this https://medium.com/@aly.essam.seoudi/simple-react-guide-to-implement-chat-comment-input-component-react-mentions-emoji-mart-a48a4d8c4fad