box-ui-elements-mlh
Version:
11 lines (10 loc) • 390 B
TypeScript
import * as React from 'react';
import './DraggableList.scss';
export interface DraggableListProps {
children: React.ReactNode;
className?: string;
listId: string;
onDragEnd: (sourceIndex: number, destinationIndex: number) => void;
}
declare const DraggableList: ({ children, className, listId, onDragEnd }: DraggableListProps) => JSX.Element;
export default DraggableList;