import * as React from "react";

export const ColumnsContext = React.createContext<
  Record<
    string,
    {
      id: string;
      type: string;
      name: string;
      key: string;
      operators: string[];
      value: string[];
    }
  >
>({});
export const useColumnsContext = () => React.use(ColumnsContext);
