mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
chore(Notifications): support actions instead of specific undo and dismiss
This commit is contained in:
5
src/runtime/types/toast.d.ts
vendored
5
src/runtime/types/toast.d.ts
vendored
@@ -5,7 +5,10 @@ export interface ToastNotification {
|
||||
type: string
|
||||
icon?: string
|
||||
timeout: number
|
||||
undo?: Function
|
||||
actions?: {
|
||||
label: string,
|
||||
click: Function
|
||||
}[]
|
||||
callback?: Function
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user