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

Disabling categories selection if only 1 category selected #396

Open
kotsh23 opened this issue Feb 14, 2024 · 0 comments
Open

Disabling categories selection if only 1 category selected #396

kotsh23 opened this issue Feb 14, 2024 · 0 comments

Comments

@kotsh23
Copy link

kotsh23 commented Feb 14, 2024

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}
      />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant