Name | Type | Required | Default | Description |
---|---|---|---|---|
children | ReactNode | false | ||
className | string | false | ||
style | CSSProperties | false | Additional CSS styles | |
variant | true | Controls icon and background color |
For accessible 'enough time' patterns, Toasts can be extended and have an action to dismiss the Toast. Any input interaction to the Toast, would pause the Toast. A user can explicitly dismiss it.
Toast with no subcomponents. Please migrate to Toast.Text.
Additional classNames