import { Reorder } from "framer-motion"; import { MenuSection } from "@/types/resume"; import LayoutItem from "./LayoutItem"; interface LayoutPanelProps { menuSections: MenuSection[]; activeSection: string; setActiveSection: (id: string) => void; toggleSectionVisibility: (id: string) => void; updateMenuSections: (sections: MenuSection[]) => void; removeCustomData: (sectionId: string) => void; reorderSections: (sections: MenuSection[]) => void; } const LayoutSetting = ({ menuSections, activeSection, setActiveSection, toggleSectionVisibility, updateMenuSections, removeCustomData, reorderSections, }: LayoutPanelProps) => { const basicSection = menuSections.find((item) => item.id === "basic"); const draggableSections = menuSections.filter((item) => item.id !== "basic"); return (