forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1import {type ViewProps} from 'react-native'
2
3export type EmojiSelectionListener = (event: {
4 nativeEvent: SelectionEvent
5}) => void
6
7export type SelectionEvent = {
8 emoji: string
9}
10
11export type EmojiPickerViewProps = ViewProps & {
12 /*
13 * Callback that will be called when an emoji is selected.
14 */
15 onEmojiSelected: (emoji: string) => void
16}
17
18export type EmojiPickerNativeViewProps = ViewProps & {
19 onEmojiSelected: EmojiSelectionListener
20}