Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom category anchors. #481

Closed
EliteMasterEric opened this issue Jan 27, 2021 · 1 comment
Closed

Add support for custom category anchors. #481

EliteMasterEric opened this issue Jan 27, 2021 · 1 comment

Comments

@EliteMasterEric
Copy link

#224 and #351 allow for multiple custom categories, but only the first will appear as a category anchor, and will appear with a star icon.

As seen here, functionality ensures only the first category will be added, and the rest will be ignored.

https://github.com/missive/emoji-mart/blob/master/src/components/picker/nimble-picker.js#L84

Modify this to add for multiple custom categories, including the ability to specify their icons via the existing icons property.

This should also include a prop which enables this functionality, named something like multipleCustomCategories, which is false by default. This is to prevent breaking existing implementations.

@EtienneLem
Copy link
Member

This is supported in latest version. See https://github.com/missive/emoji-mart#custom-emojis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants