import { jsx as l } from "@emotion/react/jsx-runtime";
import { SCROLL_BAR_CLASS_NAME as m } from "./constants.js";
import { ScrollbarRootStyled as S } from "./slots/ScrollBarSlots.js";
const s = (o) => {
  const { children: r, overflowX: t = !1, overflowY: e = !0 } = o;
  return /* @__PURE__ */ l(S, { ownerState: { overflowX: t, overflowY: e }, className: m, children: r });
};
export {
  s as ScrollBar
};
