Temporarily displayed messages that provide additional information or feedback about a user's action or event. Hovering over a message will keep it in view.
<Toast triggered={triggered} onHide={onHideHandler}>
Saved
</Toast>
All props availble on the Alert component are available in addition to the options below.
Name | Type | Default | Description |
---|---|---|---|
triggered | boolean | false | Whether to display to the tooltip or not |
onShow | function | callback that is called when the tooltip is shown | |
onHide | function | callback that is called when the tooltip is dismissed or begins to fade out | |
onHidden | function | callback that is called when the tooltip has been completely hidden after the fade out animation is complete | |
showDuration | number | length of time in ms to display the Toast before hiding it | |
isCloseable | boolean | displays a close button in the Toast when true, and the Toast must then by manually dismissed by clicking the close button |