♻️(frontend) add categories on top of the EmojiPicker
In a recent fix we had to remove the categories from the EmojiPicker component due to a bug in the underlying library. This commit reintroduces the categories feature, placing them at the top of the picker for improved user experience. The categories help users quickly find emojis by grouping them into relevant sections. We set the default color as well to ensure consistency across the emoji picker.
This commit is contained in:
@@ -23,12 +23,10 @@ export const EmojiPicker = ({
|
||||
<Picker
|
||||
data={emojiData}
|
||||
locale={i18n.resolvedLanguage}
|
||||
navPosition="none"
|
||||
onClickOutside={onClickOutside}
|
||||
onEmojiSelect={onEmojiSelect}
|
||||
previewPosition="none"
|
||||
skinTonePosition="none"
|
||||
theme="light"
|
||||
/>
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user