import { DaffToastData } from '@daffodil/design/toast'
Data that defines the content and behavior of a toast.
interface DaffToastData {
title: string
message: string
status: DaffStatus
actions: DaffToastAction[]
dismissible: boolean
}
title string |
---|
The primary text that summarizes the purpose of the toast. |
message string |
---|
Provides additional details or context about the toast. |
status DaffStatus |
---|
The visual status of the toast. |
actions DaffToastAction[] |
---|
Used to display actionable buttons related to the toast. |
dismissible boolean |
---|
Whether the toast can be manually dismissed with a close button. |