uppy/packages/@uppy/react/src/DragDrop.d.ts
Antoine du Hamel 5630f7dc07
tools: enable linter for TypeScript (#2997)
* tools: enable linter for TypeScript files and code snippets

* types: remove remaning namespaces

* tools: remove unused Babel decorator plugin
2021-07-13 14:28:14 +02:00

11 lines
400 B
TypeScript

import type { DragDropOptions } from '@uppy/drag-drop'
import { ToUppyProps } from './CommonTypes'
export type DragDropProps = ToUppyProps<DragDropOptions> & React.BaseHTMLAttributes<HTMLDivElement>
/**
* React component that renders an area in which files can be dropped to be
* uploaded.
*/
declare const DragDropComponent: React.ComponentType<DragDropProps>
export default DragDropComponent