// Type definitions for react-fa v4.1.2 // Project: https://github.com/andreypopp/react-fa // Definitions by: Frank Laub , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// declare module "react-fa" { import { Component, ClassAttributes } from "react"; type IconSize = "lg" | "2x" | "3x" | "4x" | "5x" interface IconProps extends ClassAttributes { name: string className?: string size?: IconSize rotate?: "45" | "90" | "135" | "180" | "225" | "270" | "315" flip?: "horizontal" | "vertical" fixedWidth?: boolean spin?: boolean pulse?: boolean stack?: "1x" | "2x" inverse?: boolean Component?: string | Function } export class Icon extends Component {} interface IconStackProps extends ClassAttributes { className?: string size?: IconSize } export class IconStack extends Component {} export default Icon }