Detalhes do pacote

@lg-chat/message-prompts

mongodb1.3kApache-2.04.0.3

LeafyGreen UI Kit Message Prompts

readme (leia-me)

Message Prompts

npm (scoped)

View on MongoDB.design

Installation

Yarn

yarn add @lg-chat/message-prompts

NPM

npm install @lg-chat/message-prompts

MessagePrompt Properties

Prop Type Description Default
selected boolean Specifies that the MessagePrompt is selected. When one message prompt is selected, the others are disabled by default.
disabled boolean Specifies that the MessagePrompt is disabled.
onClick React.MouseEventHandler<HTMLButtonElement> Event handler called onClick.
... HTMLElementProps<'button'> Props spread on button element