import {useMemo} from "react";
import {MRT_ColumnDef} from "mantine-react-table";
import {ShippingWarehouseSchema} from "../../../../client";

const useShippingWarehouseTableColumns = () => {
    return useMemo<MRT_ColumnDef<ShippingWarehouseSchema>[]>(() => [
        {
            accessorKey:"id",
            header:"ID"
        },
        {
            accessorKey:"name",
            header:"Название"
        }
    ], []);
}

export default useShippingWarehouseTableColumns;