ealush / emoji-picker-react

The most popular React Emoji Picker
https://ealush.com/emoji-picker-react/
MIT License
991 stars 166 forks source link

Disabling categories selection if only 1 category selected #396

Open kotsh23 opened 5 months ago

kotsh23 commented 5 months ago

i use only 1 category but i have the category selection and i want some space how i can remove this categories layout

Screen Shot 2024-02-14 at 7 20 34 AM
<EmojiPicker
        open={open}
        onEmojiClick={onEmojiClick}
        theme="dark"
        emojiStyle="google"
        lazyLoadEmojis="true"
        searchDisabled="true"
        suggestedEmojisMode="false"
        previewConfig={{ showPreview: false }}
        categories={[
          {
            category: "smileys_people",
            name: "Faces",

          },
        ]}
        reactionsDefaultOpen={false}
        reactions={["1f61b", "1f605"]}
        height={300}
        onReactionClick={onEmojiClick}
      />