Message Prompts

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 |