Closed mastepanoski closed 2 years ago
Hi @mastepanoski. Thank you for reporting the issue and for using the library.
This is a great idea. I can make an update to the package by the end of the week unless you would like to make a PR.
Please let me know if there are any issues.
Perfect. Ok, I will let you know.
Is your feature request related to a problem? Please describe. Currently, the reactions in ReactionBarSelector use a label in the tooltip. If I want to use i18n, it is impossible to have a mutable 'label' and a 'key' to determine in a selection event which emoji was selected.
Now:
So, the content of 'label' is displayed, and I need to display a different text depending on the language, and I need a label to be a key.
Describe the solution you'd like
A reaction should have this structure, e.g.:
And onSelect should get key as a param and not label.