ToastProps
Datalayer Core / ToastProps
Type Alias: ToastProps
ToastProps =
object
Defined in: tech/datalayer/core/src/hooks/useToast.tsx:14
Properties
actions?
optional
actions:Notification.IAction
[]
Defined in: tech/datalayer/core/src/hooks/useToast.tsx:18
List of associated actions
autoClose?
optional
autoClose:number
|false
Defined in: tech/datalayer/core/src/hooks/useToast.tsx:22
Autoclosing behavior - false (not closing automatically) or number (time in milliseconds before hiding the notification)
variant
variant:
"info"
|"success"
|"warning"
|"error"
Defined in: tech/datalayer/core/src/hooks/useToast.tsx:26
Notification type