Browse Source

fix: notification's description should be optional

pull/13155/head
Wei Zhu 6 years ago
committed by GitHub
parent
commit
f9bf695656
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/notification/index.tsx

2
components/notification/index.tsx

@ -101,7 +101,7 @@ const typeToIcon = {
export interface ArgsProps {
message: React.ReactNode;
description: React.ReactNode;
description?: React.ReactNode;
btn?: React.ReactNode;
key?: string;
onClose?: () => void;

Loading…
Cancel
Save