UNPKG

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