mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 16:06:02 +01:00
fix(package): set notification types as optional
This commit is contained in:
@@ -10,7 +10,7 @@ interface NotifyProps {
|
|||||||
description?: string;
|
description?: string;
|
||||||
duration?: number;
|
duration?: number;
|
||||||
position?: NotificationPosition;
|
position?: NotificationPosition;
|
||||||
type: NotificationType;
|
type?: NotificationType;
|
||||||
style?: CSSProperties;
|
style?: CSSProperties;
|
||||||
icon?: IconName | [IconPrefix, IconName];
|
icon?: IconName | [IconPrefix, IconName];
|
||||||
iconColor?: string;
|
iconColor?: string;
|
||||||
@@ -23,7 +23,7 @@ interface DefaultNotifyProps {
|
|||||||
description?: string;
|
description?: string;
|
||||||
duration?: number;
|
duration?: number;
|
||||||
position?: NotificationPosition;
|
position?: NotificationPosition;
|
||||||
status: 'info' | 'warning' | 'success' | 'error';
|
status?: 'info' | 'warning' | 'success' | 'error';
|
||||||
id?: number;
|
id?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user