mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-20 10:38:33 +00:00
fix(package): set notification types as optional
This commit is contained in:
1 parent
ea40c9c8d5
commit
ef4595c706
1 file changed
+2
-2
@@ -10,7 +10,7 @@ interface NotifyProps {
|
||||
description?: string;
|
||||
duration?: number;
|
||||
position?: NotificationPosition;
|
||||
type: NotificationType;
|
||||
type?: NotificationType;
|
||||
style?: CSSProperties;
|
||||
icon?: IconName | [IconPrefix, IconName];
|
||||
iconColor?: string;
|
||||
@@ -23,7 +23,7 @@ interface DefaultNotifyProps {
|
||||
description?: string;
|
||||
duration?: number;
|
||||
position?: NotificationPosition;
|
||||
status: 'info' | 'warning' | 'success' | 'error';
|
||||
status?: 'info' | 'warning' | 'success' | 'error';
|
||||
id?: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user