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.