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

export const usePositionsTableColumns = () => {
    return useMemo<MRT_ColumnDef<PositionSchema>[]>(() => [
        {
            accessorKey: "name",
            header: "Название должности"
        },
        {
            accessorKey: "key",
            header: "Ключ"
        },

    ], []);
}
