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