export function createColumnHelper() {
    return {
        accessor: (accessor, column) => {
            return typeof accessor === 'function'
                ? {
                    ...column,
                    accessorFn: accessor,
                }
                : {
                    ...column,
                    accessorKey: accessor,
                };
        },
        display: (column) => column,
        group: (column) => column,
    };
}
