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;