@types/react-file-input
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

Installation

npm install --save @types/react-file-input

Summary

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

Details

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

index.d.ts

/// <reference types="react" />

declare module "react-file-input" {
    interface FileInputProps {
        name: string;
        className: string;
        accept: string;
        placeholder: string;
        disabled?: boolean | undefined;
        onChange: (event: React.SyntheticEvent<any>) => void;
    }

    class FileInput extends React.Component<FileInputProps> {
    }

    export = FileInput;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Dmitry Rogozhny.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-file-input

Weekly Downloads

59

Version

0.0.13

License

MIT

Unpacked Size

3.52 kB

Total Files

5

Last publish

Collaborators

  • types