feat(web): font awesome icon animations

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

View File

@@ -1,5 +1,6 @@
import { IconProp } from '@fortawesome/fontawesome-svg-core';
import React from 'react';
import { IconAnimation } from '../components/LibIcon';
export type TextUiPosition = 'right-center' | 'left-center' | 'top-center';
@@ -8,6 +9,7 @@ export interface TextUiProps {
position?: TextUiPosition;
icon?: IconProp;
iconColor?: string;
iconAnimation?: IconAnimation;
style?: React.CSSProperties;
alignIcon?: 'top' | 'center';
}