[new feature] Notify: add onOpened prop

This commit is contained in:
陈嘉涵
2019-05-30 14:29:59 +08:00
parent 333666f506
commit 5f5de381e8
7 changed files with 15 additions and 2 deletions

1
types/notify.d.ts vendored
View File

@@ -10,6 +10,7 @@ export type NotifyOptions = {
className?: any;
background?: string;
onClose?: (() => void) | null;
onOpened?: (() => void) | null;
onClick?: ((event: Event) => void) | null;
}