Skip to content

Commit

Permalink
fix(package): set notification types as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWasTakenn committed Sep 17, 2022
1 parent ea40c9c commit ef4595c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/client/resource/interface/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface NotifyProps {
description?: string;
duration?: number;
position?: NotificationPosition;
type: NotificationType;
type?: NotificationType;
style?: CSSProperties;
icon?: IconName | [IconPrefix, IconName];
iconColor?: string;
Expand All @@ -23,7 +23,7 @@ interface DefaultNotifyProps {
description?: string;
duration?: number;
position?: NotificationPosition;
status: 'info' | 'warning' | 'success' | 'error';
status?: 'info' | 'warning' | 'success' | 'error';
id?: number;
}

Expand Down

0 comments on commit ef4595c

Please sign in to comment.