refactor: add group value

This commit is contained in:
Thanaphon Frappet 2024-11-12 16:01:43 +07:00
parent 22f19ca8cc
commit e70fafe203
2 changed files with 50 additions and 24 deletions

View file

@ -53,7 +53,12 @@ const props = withDefaults(
autoSave?: boolean;
hideAction?: boolean;
columns: QTableProps['columns'];
menu?: { label: string; value: string; _meta?: Record<string, any> }[];
menu?: {
label: string;
group: string;
value: string;
_meta?: Record<string, any>;
}[];
}>(),
{},
);