emoji-picker-react
emoji-picker-react copied to clipboard
Feature request: Adding group.
Creating a new group with the name we want and assign images and values to group.
Hey @RaknaXTR, I am assuming you want a feature for custom emojis. That's pretty easy to support, but I am wondering - how would you like to use that?
The way I imagine it, is that you pass to the picker an array of custom custom group, each with its own emojis, so it would look something like that:
const customGroups = [{
name: 'GROUP_NAME',
emojis: [{
id: 'emoji_id',
name: 'emoji_name',
url: 'http://image.url.com',
keywords: ['smiley face big', 'big mouth smile']
}]
}]
Along with that, the emojiClick value would match this, maybe with an added {custom: true}
so you know to use it differently.
Does that make sense to you, or would you expect it to behave differently?
Yes, that makes sense to me.
Hey.. First of all.. great work... both thumbs up.. I have a question... how would you change the css? I changed the main.css file inside the node modules but nothing reflected on the ui.
@ealush Hey, again me! I may be a little impatient about this, I apologize for this, but 1 month has passed and I really need this feature. When can you add this feature?
I'd be interested in adding one or multiple groups aswell! :) Great plugin!
We are looking for a component to pick emojis into our game. We also want to add a bunch of ingame emojis, like resources and buildings. And because we have 50+ of each, we would really love to have own category and tab for each. More like a tab, as they can be further divided into industries.
Defining the custom emojis, together with categories, could be further done by specifying category on that emoji, instead of the approach described above.
Hi, I'll be glad to handle this issue :)
Awesome, @tantany. You can take it. Thanks!