import { jsx as m } from "react/jsx-runtime";
import { useMemo as i } from "react";
import { TreeLevelContext as s } from "./tree-level-context.js";
const p = ({
  children: o,
  level: r,
  parentId: e
}) => {
  const t = i(() => ({ level: r, parentId: e }), [r, e]);
  return /* @__PURE__ */ m(s.Provider, { value: t, children: o });
};
export {
  p as TreeLevelProvider
};
