1.0.3 • Published 6 months ago

@types/react-icofont v1.0.3

Weekly downloads
105
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-icofont

Summary

This package contains type definitions for react-icofont (https://www.npmjs.com/package/react-icofont).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-icofont.

index.d.ts

// 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 | undefined;
    flip?: "h" | "v" | undefined;
    rotate?: "90" | "180" | "270" | undefined;
    size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | undefined;
    className?: string | undefined;
}

export default class Icofont extends React.Component<IcofontProps> {}

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:20:48 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Ivan Chuyko.