Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.5 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.5 KB

Message Prompts

npm (scoped)

Installation

Yarn

yarn add @leafygreen-ui/message-prompts

NPM

npm install @leafygreen-ui/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