import { jsx } from "react/jsx-runtime";
import { useState } from "react";
import { Scale } from "../internal/types.js";
import { ChartGrid } from "../LineChart.js";
const useChartGrid = () => {
  const [scale, setScale] = useState(Scale.Linear);
  return (props) => /* @__PURE__ */ jsx(ChartGrid, { ...props, scale, setScale });
};
export {
  useChartGrid
};
