import { jsx as s, jsxs as e } from "react/jsx-runtime";
import N from "../../utils/classNames.js";
import f from "./Dialog.js";
const u = (t) => {
  const {
    leftContent: i,
    rightContent: l,
    leftContentClassName: a = "",
    rightContentClassName: r = "",
    className: o = "",
    useOverflow: n = !0,
    showDivider: m = !0,
    ...d
  } = t, c = `split-dialog ${o}`, p = N("split-divider", "bg-lighter"), g = /* @__PURE__ */ e("div", { className: "split-wrapper", children: [
    /* @__PURE__ */ e("div", { className: `split-left ${a}`, children: [
      i,
      m && /* @__PURE__ */ s("div", { className: p })
    ] }),
    /* @__PURE__ */ s("div", { className: `split-right ${r}`, children: l })
  ] });
  return /* @__PURE__ */ s(f, { ...d, body: g, className: c, useOverflow: n });
};
export {
  u as default
};
//# sourceMappingURL=SplitDialog.js.map
