refactor: add define props hide header and bottom

This commit is contained in:
Thanaphon Frappet 2025-03-07 15:53:22 +07:00
parent 7717523449
commit 2a2613d72c

View file

@ -5,6 +5,8 @@ const prop = withDefaults(
defineProps<{ defineProps<{
row: QTableProps['rows']; row: QTableProps['rows'];
columns: QTableProps['columns']; columns: QTableProps['columns'];
hideHeader?: boolean;
hideBottom?: boolean;
}>(), }>(),
{ {
row: () => [], row: () => [],
@ -22,6 +24,8 @@ const prop = withDefaults(
})) }))
" "
:columns :columns
:hideHeader
:hideBottom
bordered bordered
flat flat
selection="multiple" selection="multiple"