import type { ReactNode } from "react"; interface TableProps { children: ReactNode; /** 배치(레이아웃) 조정용 클래스 패스스루만 허용 — 디자인 값 주입 금지. */ className?: string; } /** 테이블 컨테이너 — 가로 스크롤 래퍼(`overflow-x-auto`) + ``. */ export function Table({ children, className }: TableProps) { return (
{children}
); } interface TableSectionProps { children: ReactNode; } /** 테이블 헤더 영역(``). */ export function TableHead({ children }: TableSectionProps) { return {children}; } /** 테이블 본문 영역(``). */ export function TableBody({ children }: TableSectionProps) { return {children}; } interface TableRowProps { children: ReactNode; className?: string; } /** 테이블 행(``) — 아래쪽 구분선을 기본으로 갖는다. */ export function TableRow({ children, className }: TableRowProps) { return {children}; } interface TableCellProps { children: ReactNode; className?: string; } /** 헤더 셀(``). */ export function TableHeaderCell({ children, className }: TableCellProps) { return ( {children} ); } /** 본문 셀(``). */ export function TableCell({ children, className }: TableCellProps) { return {children}; }