feat: attrs on product

This commit is contained in:
2024-05-11 01:11:02 +03:00
parent 0421d33cf2
commit 10c82e88ae
2 changed files with 26 additions and 0 deletions

View File

@@ -14,5 +14,6 @@ export type ProductSchema = {
color?: (string | null);
composition?: (string | null);
size?: (string | null);
additionalInfo?: (string | null);
};

View File

@@ -62,6 +62,31 @@ export const useProductsTableColumns = () => {
accessorKey: "size",
header: "Размер",
enableSorting: false
},
{
accessorKey: "weight",
header: "Вес",
enableSorting: false
},
{
accessorKey: "price",
header: "Цена",
enableSorting: false
},
{
accessorKey: "quantity",
header: "Количество",
enableSorting: false
},
{
accessorKey: "description",
header: "Описание",
enableSorting: false
},
{
accessorKey: "additionalInfo",
header: "Доп. информация",
enableSorting: false
}
], []);