DefinitelyTyped/react-file-reader-input/index.d.ts
Andy 8841dfc744 Use index.d.ts only (not foo/foo.d.ts) (#12834)
* Use index.d.ts only (not foo/foo.d.ts)

* Convert more packages

* Remove unnecessary references
2016-11-21 12:58:06 -08:00

19 lines
563 B
TypeScript

// Type definitions for react-file-reader-input
// Project: https://www.npmjs.com/package/react-file-reader-input
// Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///<reference types="react" />
declare module "react-file-reader-input" {
interface FileInputProps {
as?: string;
onChange?: (event: React.SyntheticEvent<any>, results: any) => void;
}
class FileInput extends React.Component<FileInputProps, {}> {
}
export = FileInput;
}