s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Chat

ReactionPicker

No summary has been written for ReactionPicker. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { ReactionPicker } from '@happyvertical/smrt-ui/chat';
Import path
@happyvertical/smrt-ui/chat
Props
5
Props described
5 of 5
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
emojisstring[]NoEmoji set to offer.
labelstringNoAccessible label for the group. Defaults to a translated "Add reaction".
emojiLabel(emoji: string) => stringNoAccessible name for each emoji button. Defaults to a built-in name for the common reactions, else a translated "React with {emoji}".
isOpenbooleanNoWhether the picker is shown.
onpick(emoji: string) => voidNoFired with the chosen emoji.

Bindable state

This component has no bindable public state.

Callback events

  • onpick(emoji: string) => void

Examples and explanation