[
{
label: 'Delete Request',
onSelect: deleteRequest.mutate,
leftSlot: ,
},
],
[],
)}
>
);
});
type DraggableSidebarItemProps = SidebarItemProps & {
onMove: (id: string, hoverId: string) => void;
};
type DragItem = {
id: string;
};
const DraggableSidebarItem = memo(function DraggableSidebarItem({
requestName,
requestId,
workspaceId,
active,
sidebarWidth,
onMove,
}: DraggableSidebarItemProps) {
const ref = useRef