The custom category behaves as a normal category, and its location or name can be controlled via the normal category config.
Enabling the custom category is simple, add a customEmojis prop to the picker. The custom emojis prop takes an array of custom emojis, each custom emoji has three keys:
id: Unique identifier for each of the custom emojis
names: an array of string identifiers, will be used both for display, search and indexing.
Adding custom emoji support.
Try it live on codesandbox: https://codesandbox.io/s/emoji-picker-react-custom-categories-n26735?file=/src/App.tsx
Installation
The custom category behaves as a normal category, and its location or name can be controlled via the normal category config.
Enabling the custom category is simple, add a customEmojis prop to the picker. The custom emojis prop takes an array of custom emojis, each custom emoji has three keys:
Usage Example: