import { jsx as n } from "react/jsx-runtime";
import { createContext as u, useContext as i, useState as s } from "react";
const t = u({
  columnCount: 1,
  setColumnCount: () => {
  }
}), m = () => i(t), c = ({ children: o }) => {
  const [r, e] = s(1);
  return /* @__PURE__ */ n(t.Provider, { value: { columnCount: r, setColumnCount: e }, children: o });
};
export {
  t as VirtualGridContext,
  c as VirtualGridProvider,
  m as useVirtualGridContext
};
