forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1export type Emoji = {
2 aliases?: string[]
3 emoticons: string[]
4 id: string
5 keywords: string[]
6 name: string
7 native: string
8 shortcodes?: string
9 unified: string
10}
11
12export interface EmojiPickerPosition {
13 top: number
14 left: number
15 right: number
16 bottom: number
17 nextFocusRef: React.MutableRefObject<HTMLElement> | null
18}
19
20export interface EmojiPickerState {
21 isOpen: boolean
22 pos: EmojiPickerPosition
23}
24
25interface IProps {
26 state: EmojiPickerState
27 close: () => void
28 /**
29 * If `true`, overrides position and ensures picker is pinned to the top of
30 * the target element.
31 */
32 pinToTop?: boolean
33}
34
35export function EmojiPicker(_opts: IProps) {
36 return null
37}