Bluesky app fork with some witchin' additions 💫
1import {type PickerProps, type RootProps, type TriggerProps} from './types'
2
3export * from './types'
4
5/**
6 * Provides emoji picker context and wraps children in a {@link Menu.Root}.
7 *
8 * On emoji select, fires a `textInputWebEmitter` event (for web text inputs
9 * that listen for emoji insertions) and forwards to the optional
10 * `onEmojiSelect` callback.
11 *
12 * @platform web
13 */
14export function Root(_props: RootProps): React.ReactNode {
15 throw new Error('EmojiPopup is not implemented on native')
16}
17
18/**
19 * Passthrough to {@link Menu.Trigger}. Accepts the same render-prop children
20 * pattern.
21 *
22 * @platform web
23 */
24export function Trigger(_props: TriggerProps): React.ReactNode {
25 throw new Error('EmojiPopup is not implemented on native')
26}
27
28/**
29 * Renders the emoji picker inside a Radix `DropdownMenu.Portal`.
30 *
31 * Holding Shift while selecting an emoji keeps the picker open for
32 * multi-select. Otherwise the menu closes after each selection.
33 *
34 * Must be rendered inside a {@link Root}.
35 *
36 * @platform web
37 */
38export function Picker(_props: PickerProps): React.ReactNode {
39 throw new Error('EmojiPopup is not implemented on native')
40}