Interface: Notification
Notification object type, which is used in <dyte-notification />.
Properties
button
• Optional button: Object
Type declaration
| Name | Type |
|---|---|
onClick | () => void |
text | string |
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