0.0.13 • Published 1 year ago
@types/react-file-input v0.0.13
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
// Type definitions for react-file-input
// Project: https://www.npmjs.com/package/react-file-input
// Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
///<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: Thu, 08 Jul 2021 20:20:39 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Dmitry Rogozhny.