import { motion } from "framer-motion"; import { useResumeStore } from "@/store/useResumeStore"; import { cn } from "@/lib/utils"; interface SectionWrapperProps { sectionId: string; children: React.ReactNode; className?: string; style?: React.CSSProperties; } /** * Thin interaction wrapper for all section components. * Provides hover highlight + click-to-select behavior. */ const SectionWrapper: React.FC = ({ sectionId, children, className = "", style, }) => { const { setActiveSection } = useResumeStore(); return ( setActiveSection(sectionId)} > {children} ); }; export default SectionWrapper;