Called as the sheet opens or closes: Close, a drag down, a tap on the dim, or a pick when closes is set
emojis
EmojiPickerEmoji[]
—
Every emoji the picker offers, in order: { symbol, name, group, keywords? }. The name is the emoji's name for a screen reader and what a search finds, with the keywords
groups
EmojiPickerGroup[]
—
The groups' order and headings, { id, label }; unset, the groups stand in the order their first emoji comes, headed by their ids
recents
string[]
—
The symbols of the emoji used lately, shown first under recentsLabel; none, no such group
recentsLabel
string
"Frequently Used"
The heading of the recent ones
onSelect
(emoji: EmojiPickerEmoji) => void
—
Called with the emoji picked
closes
boolean
true
A pick closes the sheet
title
ReactNode
"Emoji"
The sheet's title
searchPlaceholder
string
"Search Emoji"
The search field's placeholder and its name for assistive technologies
emptyLabel
string
"No Emoji Found"
Shown when a search finds nothing
cancelLabel
string
"Cancel"
The name of the X that ends a search
testID
string
—
Test id of the sheet; its parts are testID-field (the search), testID-grid and testID-emoji-<name>