mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(package): set notification types as optional
This commit is contained in:
@@ -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