Skip to main content

Interface: Notification

Notification object type, which is used in <dyte-notification />.

Properties​

button​

• Optional button: Object

Type declaration​

NameType
onClick() => void
textstring
variant?ButtonVariant

duration​

• Optional duration: number

Duration in milliseconds, don't pass this if you want a stagnant notification


icon​

• Optional icon: string


id​

• id: string


image​

• Optional image: string


message​

• message: string