mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
581 B
TypeScript
19 lines
581 B
TypeScript
// Type definitions for react-icofont 1.0
|
|
// Project: https://www.npmjs.com/package/react-icofont
|
|
// Definitions by: Ivan Chuyko <https://github.com/ichuyko>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import * as React from "react";
|
|
|
|
export interface IcofontProps {
|
|
icon: string;
|
|
spin?: boolean;
|
|
flip?: "h" | "v";
|
|
rotate?: "90" | "180" | "270";
|
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
|
|
className?: string;
|
|
}
|
|
|
|
export default class Icofont extends React.Component<IcofontProps> {}
|