mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(notify): missing iconAnimation type (#500)
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
---@alias NotificationPosition 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'center-right' | 'center-left'
|
---@alias NotificationPosition 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'center-right' | 'center-left'
|
||||||
---@alias NotificationType 'info' | 'warning' | 'success' | 'error'
|
---@alias NotificationType 'info' | 'warning' | 'success' | 'error'
|
||||||
|
---@alias IconAnimationType 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake'
|
||||||
|
|
||||||
---@class NotifyProps
|
---@class NotifyProps
|
||||||
---@field id? string
|
---@field id? string
|
||||||
@@ -10,6 +11,7 @@
|
|||||||
---@field type? NotificationType
|
---@field type? NotificationType
|
||||||
---@field style? { [string]: any }
|
---@field style? { [string]: any }
|
||||||
---@field icon? string | {[1]: IconProp, [2]: string};
|
---@field icon? string | {[1]: IconProp, [2]: string};
|
||||||
|
---@field iconAnimation? IconAnimationType;
|
||||||
---@field iconColor? string;
|
---@field iconColor? string;
|
||||||
---@field alignIcon? 'top' | 'center';
|
---@field alignIcon? 'top' | 'center';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user