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
parent
commit
d8ab5a5771
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/notification/index.tsx

1
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;

Loading…
Cancel
Save