UNPKG

@cimpress/react-components

Version:
21 lines 736 B
import React, { ReactNode } from 'react'; export interface DroppableProps { /** * Provide content for the Droppable as children. */ children?: ReactNode; /** * The unique id for the droppable area */ droppableId: string; /** * Indicates that the droppable does not have any draggable elements inside. If provided, this will render the 'emptyPlaceholder' when the droppable is empty */ isEmpty?: boolean; /** * The React element rendered when the droppable is empty */ emptyPlaceholder?: ReactNode; } export declare const Droppable: ({ children, droppableId, isEmpty, emptyPlaceholder }: DroppableProps) => React.JSX.Element; //# sourceMappingURL=Droppable.d.ts.map