@octopusdeploy/design-system-components
Version:
The design systems component library.
12 lines (11 loc) • 418 B
TypeScript
import type { ReactNode } from "react";
export default function SortableItem({ id, index, name, label, customContent, onItemDeleted, onItemUpdated, isOverlay, }: {
id: string;
index: number;
name: string;
label?: string;
customContent?: ReactNode;
onItemDeleted?: () => void;
onItemUpdated?: (newValue: string) => void;
isOverlay?: boolean;
}): import("react/jsx-runtime").JSX.Element;