UNPKG

715 BTypeScriptView Raw
1import { FaSymbol, FlipProp, IconProp, PullProp, RotateProp, SizeProp, Styles, Transform } from '@fortawesome/fontawesome-svg-core';
2/**
3 * Fontawesome props.
4 */
5export interface FaProps {
6 mask?: IconProp;
7 className?: string;
8 animation?: AnimationProp;
9 border?: boolean;
10 fixedWidth?: boolean;
11 counter?: boolean;
12 inverse?: boolean;
13 flip?: FlipProp;
14 size?: SizeProp;
15 pull?: PullProp;
16 rotate?: RotateProp;
17 transform?: string | Transform;
18 symbol?: FaSymbol;
19 style?: Styles;
20 stackItemSize?: '1x' | '2x';
21}
22export type AnimationProp = 'beat' | 'fade' | 'beat-fade' | 'bounce' | 'flip' | 'shake' | 'spin' | 'spin-reverse' | 'spin-pulse' | 'spin-pulse-reverse';