Skip to content

Support showEmoji predicate#282

Open
ealush wants to merge 2 commits into
masterfrom
2022-10-13-add-allowed-emoji-conditional
Open

Support showEmoji predicate#282
ealush wants to merge 2 commits into
masterfrom
2022-10-13-add-allowed-emoji-conditional

Conversation

@ealush

@ealush ealush commented Oct 14, 2022

Copy link
Copy Markdown
Owner

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
Copy Markdown

please, can you merge it?

@matr369

matr369 commented Jan 9, 2024

Copy link
Copy Markdown

please merge this one

@ealush ealush force-pushed the master branch 8 times, most recently from e1e9bc5 to 76f2b14 Compare October 19, 2025 22:14
@ealush ealush force-pushed the master branch 5 times, most recently from 6f0292c to d2af775 Compare November 22, 2025 13:03
@ealush ealush force-pushed the master branch 2 times, most recently from 467cac6 to d55c0c3 Compare January 22, 2026 21:30
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