UNPKG

solid-fa

Version:

Tiny FontAwesome component for SolidJS

27 lines 922 B
import { IconDefinition } from '@fortawesome/fontawesome-common-types'; interface SolidFaProps { icon: IconDefinition; size?: 'xs' | 'sm' | 'lg' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x'; color?: string; fw?: boolean; pull?: 'left' | 'right'; scale?: number | string; translateX?: number | string; translateY?: number | string; rotate?: number | string; flip?: 'horizontal' | 'vertical' | 'both'; spin?: boolean; pulse?: boolean; class?: string; classList?: { [k: string]: boolean | undefined; } | undefined; primaryColor?: string; secondaryColor?: string; primaryOpacity?: number | string; secondaryOpacity?: number | string; swapOpacity?: boolean; } export default function Fa(props: SolidFaProps): import("solid-js").JSX.Element; export {}; //# sourceMappingURL=index.d.ts.map