Alert
Displays important messages with optional actions.
API Reference
Prop | Type | Default |
---|---|---|
ariaHasPopup? | boolean | "menu" | "listbox" | "tree" | "grid" | "dialog" | - |
ariaPressed? | boolean | "mixed" | - |
ariaControls? | string | - |
ariaExpanded? | boolean | - |
ariaLabel? | string | - |
isDisabled? | boolean | false |
isLoading? | boolean | false |
trailingIcon? | ElementType | - |
leadingIcon? | ElementType | - |
text? | string | - |
subType? | ButtonSubType | ButtonSubType.DEFAULT |
size? | ButtonSize | ButtonSize.MEDIUM |
buttonType? | ButtonType | ButtonType.PRIMARY |
AlertDemo
How is this guide?