import { useState } from 'react'; import Badge from '@common/components/ui/Badge'; import SidePanel from '@common/components/ui/SidePanel'; const Section = ({ title, desc, children }: { title: string; desc?: string; children: React.ReactNode }) => (

{title}

{desc &&

{desc}

}
{children}
); const SidePanelSection = () => { const [visible, setVisible] = useState(false); return ( <>
{visible && ( 상세 정보 } footer={ } >
상태 정상
분류 공지사항
작성자 이동녘
작성일 2026-03-10
조회수 142
)} ); }; export default SidePanelSection;