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

Support showEmoji predicate #282

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ealush
Copy link
Owner

@ealush ealush commented Oct 14, 2022

Allow for passing a showEmoji property that takes a predicate function. When returning false, the emoji will be removed from the picker, for example:

<Picker showEmoji={(emoji) => !!myAllowedEmojes[emoji.u]}/>

@ealush ealush marked this pull request as ready for review October 14, 2022 08:55
@ealush ealush mentioned this pull request Oct 14, 2022
@ealush ealush force-pushed the master branch 2 times, most recently from 8673ce9 to d8ad1d4 Compare November 4, 2023 20:16
@TrainedLoop
Copy link

please, can you merge it?

@matr369
Copy link

matr369 commented Jan 9, 2024

please merge this one

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

Successfully merging this pull request may close these issues.

3 participants