emoji-picker-react
emoji-picker-react copied to clipboard
Add custom object with suggested emojis
So far there are two options to choose from while customizing suggestedEmojisMode:
SuggestionMode.FREQUENTSuggestionMode.RECENT
both are based on the user's local storage.
What I need is a more advanced customization option, to add my own object with suggested emojis, where I can define what emojis I want to display as suggested.
For example:
suggestedEmojisMode={SuggestionMode.CUSTOM}
sugesstedCustomEmojis={["1F601", "1F602", "1F603"]}
There could be an option to pass an array of custom emojis unified codes (like 1f601). In my use case, it would be 6 emojis, but there is probably room to somehow validate the minimum and maximum amount.