UNPKG

@octopusdeploy/design-system-components

Version:
15 lines (14 loc) 498 B
import type * as React from "react"; export interface SortableItemModel { Id: string; Name: string; } interface SortableListProps<TItemType> { items: TItemType[]; label?: string; renderItem?: (item: TItemType) => React.ReactNode; onItemsUpdated(sortedItems: TItemType[]): void; isItemEditable?: boolean; } export declare function SortableList<TItemType extends SortableItemModel>(props: SortableListProps<TItemType>): import("react/jsx-runtime").JSX.Element; export {};