mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-25 12:28:34 +00:00
feat(web): font awesome icon animations
This commit is contained in:
1 parent
a50f7a2052
commit
882e372895
24 files changed
+124
-47
No files matched your search
@@ -1,5 +1,7 @@
|
||||
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
|
||||
|
||||
type IconAnimation = 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake';
|
||||
|
||||
interface ContextMenuItem {
|
||||
menu?: string;
|
||||
title?: string;
|
||||
@@ -8,6 +10,7 @@ interface ContextMenuItem {
|
||||
image?: string;
|
||||
icon?: IconName | [IconPrefix, IconName] | string;
|
||||
iconColor?: string;
|
||||
iconAnimation?: IconAnimation;
|
||||
progress?: number;
|
||||
colorScheme?: string;
|
||||
onSelect?: (args: any) => void;
|
||||
|
||||
Reference in new issue
Block a user