| 54 | } |
| 55 | |
| 56 | interface SortableListProps<T extends { id: UniqueIdentifier }> { |
| 57 | items: T[]; |
| 58 | onReorder: (items: T[]) => void; |
| 59 | children: ReactNode; |
| 60 | renderOverlay?: (activeItem: T) => ReactNode; |
| 61 | } |
| 62 | |
| 63 | export interface SortableItemRenderProps { |
| 64 | attributes: DraggableAttributes; |
nothing calls this directly
no outgoing calls
no test coverage detected