UNPKG

681 BTypeScriptView Raw
1/// <reference types="react" />
2import { CSSProperties } from 'react'
3import {
4 Transform,
5 IconProp,
6 FlipProp,
7 SizeProp,
8 PullProp,
9 RotateProp,
10 FaSymbol
11} from '@fortawesome/fontawesome-svg-core'
12
13export function FontAwesomeIcon(props: Props): JSX.Element
14
15export interface Props {
16 icon: IconProp
17 mask?: IconProp
18 className?: string
19 color?: string
20 spin?: boolean
21 pulse?: boolean
22 border?: boolean
23 fixedWidth?: boolean
24 inverse?: boolean
25 listItem?: boolean
26 flip?: FlipProp
27 size?: SizeProp
28 pull?: PullProp
29 rotation?: RotateProp
30 transform?: string | Transform
31 symbol?: FaSymbol
32 style?: CSSProperties
33 tabIndex?: number;
34 title?: string;
35}