UNPKG

683 BTypeScriptView Raw
1import * as React from 'react';
2interface DroppableProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside DragDrop */
4 children?: React.ReactNode;
5 /** Class to add to outer div */
6 className?: string;
7 /** Name of zone that items can be dragged between. Should specify if there is more than one Droppable on the page. */
8 zone?: string;
9 /** Id to be passed back on drop events */
10 droppableId?: string;
11 /** Don't wrap the component in a div. Requires passing a single child. */
12 hasNoWrapper?: boolean;
13}
14export declare const Droppable: React.FunctionComponent<DroppableProps>;
15export {};
16//# sourceMappingURL=Droppable.d.ts.map
\No newline at end of file