import { jsx as a } from "react/jsx-runtime";
import { useAutoAnimate as l } from "@formkit/auto-animate/react";
import m from "../../utils/classNames.js";
const u = ({ maxHeight: e, disableAnimation: o, children: t }) => {
  const s = m("TreeRoot", "user-select-none", e ? "overflow-auto" : "overflow-hidden"), [r, n] = l();
  return n(!o), /* @__PURE__ */ a("div", { ref: r, className: s, style: { maxHeight: e }, children: t });
};
export {
  u as default
};
//# sourceMappingURL=TreeRoot.js.map
