blob: 14690a38a6b568893105a6fe706fa07f98d995f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import {type ViewProps} from 'react-native'
export type EmojiSelectionListener = (event: {
nativeEvent: SelectionEvent
}) => void
export type SelectionEvent = {
emoji: string
}
export type EmojiPickerViewProps = ViewProps & {
/*
* Callback that will be called when an emoji is selected.
*/
onEmojiSelected: (emoji: string) => void
}
export type EmojiPickerNativeViewProps = ViewProps & {
onEmojiSelected: EmojiSelectionListener
}
|