From 033d96b6bfe812e26e9728c4a3f1e69abf858470 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 12 May 2025 11:34:29 +0000 Subject: (대표님) 데이터테이블 - 공통컴포넌트 변경사항항 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/data-table/data-table.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/data-table/data-table.tsx') diff --git a/components/data-table/data-table.tsx b/components/data-table/data-table.tsx index 5aeefe21..c241c1ec 100644 --- a/components/data-table/data-table.tsx +++ b/components/data-table/data-table.tsx @@ -35,8 +35,9 @@ export function DataTable({ compact = false, // 기본값은 false로 설정 children, className, + maxHeight, ...props -}: DataTableProps) { +}: DataTableProps & { maxHeight?: string | number }) { useAutoSizeColumns(table, autoSizeColumns) @@ -56,7 +57,7 @@ export function DataTable({ return (
{children} -
+
{/* 테이블 헤더 */} -- cgit v1.2.3