Created
March 14, 2016 12:46
-
-
Save stepancar/c6ae62139178712410b4 to your computer and use it in GitHub Desktop.
test definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for react-dropzone | |
// Project: https://github.com/paramaggarwal/react-dropzone | |
// Definitions by: Mathieu Larouche Dube <https://github.com/matdube> | |
// Definitions: https://github.com/Vooban/DefinitelyTyped | |
///<reference path='../react/react.d.ts' /> | |
declare module ReactDropzone { | |
import React = __React; | |
interface DropzoneProps { | |
onDrop?: Function; | |
onDropAccepted?: Function; | |
onDropRejected?: Function; | |
onDragEnter?: Function; | |
onDragLeave?: Function; | |
style?: Object; | |
activeStyle?: Object; | |
className?: string; | |
activeClassName?: string; | |
rejectClassName?: string; | |
disableClick?: boolean; | |
multiple?: boolean; | |
accept?: string; | |
} | |
export class Dropzone extends React.Component<DropzoneProps, {}> { | |
} | |
} | |
declare module "react-dropzone" { | |
const Dropzone: typeof ReactDropzone.Dropzone; | |
export = Dropzone; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment