Browse Source
Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (#35369)
pull/35399/head
Cooper Veysey
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
components/notification/index.tsx
|
@ -206,6 +206,7 @@ export interface ArgsProps { |
|
|
duration?: number | null; |
|
|
duration?: number | null; |
|
|
icon?: React.ReactNode; |
|
|
icon?: React.ReactNode; |
|
|
placement?: NotificationPlacement; |
|
|
placement?: NotificationPlacement; |
|
|
|
|
|
maxCount?: number; |
|
|
style?: React.CSSProperties; |
|
|
style?: React.CSSProperties; |
|
|
prefixCls?: string; |
|
|
prefixCls?: string; |
|
|
className?: string; |
|
|
className?: string; |
|
|