We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i wanted to change the background style of the selected emoji, but i didn't find a selectedEmoji or activeEmoji prop
i tried this solution but it changes the style for all pickers present in the page (because i have the pickers inside a map() in jsx for each message)
<EmojiPicker onEmojiClick={handleEmojiClick} open={showEmojiPicker} reactionsDefaultOpen reactions={["2764-fe0f", "1f44d", "1f973", "1f914", "1f44e", "1f621"]} emojiStyle={EmojiStyle.FACEBOOK} /> {selectedEmoji && ( <style> { .epr-btn[data-unified="${selectedEmoji}"] { background-color: #e0e0e0 !important; border-radius: 50px; } } </style> )}
<EmojiPicker onEmojiClick={handleEmojiClick} open={showEmojiPicker} reactionsDefaultOpen reactions={["2764-fe0f", "1f44d", "1f973", "1f914", "1f44e", "1f621"]} emojiStyle={EmojiStyle.FACEBOOK} /> {selectedEmoji && ( <style> {
} </style> )}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i wanted to change the background style of the selected emoji, but i didn't find a selectedEmoji or activeEmoji prop
i tried this solution but it changes the style for all pickers present in the page (because i have the pickers inside a map() in jsx for each message)
<EmojiPicker onEmojiClick={handleEmojiClick} open={showEmojiPicker} reactionsDefaultOpen reactions={["2764-fe0f", "1f44d", "1f973", "1f914", "1f44e", "1f621"]} emojiStyle={EmojiStyle.FACEBOOK} /> {selectedEmoji && ( <style> {
.epr-btn[data-unified="${selectedEmoji}"] {
background-color: #e0e0e0 !important;
border-radius: 50px;
}
} </style> )}
The text was updated successfully, but these errors were encountered: