import { DaffToastConfiguration } from '@daffodil/design/toast'
Defines optional settings that control the behavior of a toast.
interface DaffToastConfiguration {
duration: number
}
duration number |
---|
The duration (in milliseconds) the toast remains visible before dismissal. By default, toasts without actions are dismissed after While a duration can be set for actionable toasts, it is not recommended since users should have sufficient time to interact with the actions. |