UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

20 lines 685 B
import React from "react"; export interface ReorderItem { id: string; label: string; description?: string; icon?: React.ReactNode; } interface DraggableReorderListProps { /** Initial items */ items: ReorderItem[]; /** Callback with new order when reordered */ onReorder?: (items: ReorderItem[]) => void; /** Allow removing items */ removable?: boolean; /** Additional classes */ className?: string; } export declare function DraggableReorderList({ items: initialItems, onReorder, removable, className, }: DraggableReorderListProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=draggable-reorder-list.d.ts.map