import React from 'react';
import { useSortable } from '@dnd-kit/sortable';
import { CSS } from '@dnd-kit/utilities';
import { GripVertical, FolderOpen } from 'lucide-react';
import * as LucideIcons from 'lucide-react';
import clsx from 'clsx';
interface SortableMenuItemProps {
id: string;
label: string;
icon: string;
isGroup?: boolean;
}
function getIcon(name: string): React.ReactNode {
const Icon = (LucideIcons as any)[name];
return Icon ?