GitHub

DaffToastData

Possible data that can be shown on a toast

import { DaffToastData } from '@daffodil/design/toast'
interface DaffToastData {
  title: string
  message: string
  status: DaffStatus
  actions: DaffToastAction[]
  dismissible: boolean
}

Properties

Name Type Description
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