A banner which appears on load of a page and rests at the top of the page. They can be dismissible by clicking the close icon, or disappear after a certain duration.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| type | one of information, warning, destructive, success | enum | "information" | |
| isDismissable | whether or not you can close the banner | bool | ||
| title | text to display for the title | string | ||
| label | text to display in the button | string | null | |
| handleClick | click handler | func | ||
| handleClose | click handler to close banner | func | ||
| timeout | how long to display the banner (in milliseconds) | number | ||
| leadingIcon | icon to display to the left of banner content | element | ||
| trailingIcon | icon to display to the right of banner content | element |