A EmojiPicker Component. More...
Import Statement: | import |
EmojiPicker { width: 350 height: 450 theme: 'light' defaultSkinTone: 'neatral' skinTonesDisabled: false searchPlaceholder: 'Search' searchDisabled: false onEmojiClicked: function (emoji) { console.log(emoji) } }
Controls the default skin tone, default to 'neutral'
The value can be one of:
Constant | Description |
---|---|
'neutral' | ✋ |
'1f3fb' | ✋🏻 |
'1f3fc' | ✋🏼 |
'1f3fd' | ✋🏽 |
'1f3fe' | ✋🏾 |
'1f3ff' | ✋🏿 |
Controls the theme of the picker.
The theme can be one of:
Constant | Description |
---|---|
'light' | The default |
'dark' |
Signal that is called when an emoji is clicked. The function receives the emoji as a parameter.
Note: The corresponding handler is onEmojiClicked
.