From 7c7125b7fad585f7c38a5680ffc3a15ff5cb26c6 Mon Sep 17 00:00:00 2001 From: Vic <709147950@qq.com> Date: Thu, 25 Jan 2018 12:29:03 +0800 Subject: [PATCH] fix(notifiction): Complement duration missing type definition. (#9120) --- components/notification/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/notification/index.tsx b/components/notification/index.tsx index c48e8d371f..d7e26bb9ea 100755 --- a/components/notification/index.tsx +++ b/components/notification/index.tsx @@ -104,7 +104,7 @@ export interface ArgsProps { btn?: React.ReactNode; key?: string; onClose?: () => void; - duration?: number; + duration?: number | null; icon?: React.ReactNode; placement?: NotificationPlacement; style?: React.CSSProperties;