DefinitelyTyped/react-fa/react-fa.d.ts
2016-04-22 14:12:45 -07:00

28 lines
662 B
TypeScript

// Type definitions for react-fa v4.0.0
// Project: https://github.com/andreypopp/react-fa
// Definitions by: Frank Laub <https://github.com/flaub>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../react/react.d.ts" />
import { ComponentClass, Props } from 'react';
interface IconProps extends Props<Icon> {
name: string;
className?: string;
size?: string;
spin?: boolean;
rotate?: string;
flip?: string;
fixedWidth?: boolean;
pulse?: boolean;
stack?: string;
inverse?: boolean;
}
interface Icon extends ComponentClass<IconProps> { }
declare const Icon: Icon;
export = Icon;