feat(web): font awesome icon animations

This commit is contained in:
Luke committed 2023-11-15 15:28:21 +01:00
1 parent a50f7a2052
commit 882e372895
24 files changed
+124 -47

No files matched your search

@@ -1,10 +1,13 @@
import { IconLookup, IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import { CSSProperties } from 'react';
type IconAnimation = 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake';
interface OptionsProps {
position?: 'right-center' | 'left-center' | 'top-center';
icon?: IconName | [IconPrefix, IconName];
iconColor?: string;
iconAnimation?: IconAnimation;
style?: CSSProperties;
alignIcon?: 'top' | 'center';
}