import { DaffToastData } from '@daffodil/design/toast'
Possible data that can be shown on a toast
interface DaffToastData {
title: string
message: string
status: DaffStatus
actions: DaffToastAction[]
dismissible: boolean
}
title string |
---|
A title that provides a quick oveview of the toast. |
message string |
---|
A short message used to provide additional details about the toast. |
status DaffStatus |
---|
Sets a status on the toast. |
actions DaffToastAction[] |
---|
Used to display actions in the toast. |
dismissible boolean |
---|
Whether or not the toast is dismissible. |