import { jsx as p } from "react/jsx-runtime";
import { useMemo as A } from "react";
import { c as y, s as B, a as u } from "../tools/tools.js";
import { A as x } from "./accordion-body.js";
import { A as v } from "./accordion-header.js";
import { A as C } from "./accordion-item.js";
const o = function(t) {
  const { as: i = "div", className: s, dropOldClass: r, flush: a, style: c, variables: e, ...n } = t, m = A(() => {
    const d = y(!r && "accordion", a && "accordion-flush", s), l = B((h, f) => ({ tKey: u(f) }), e, c);
    return {
      className: d,
      style: l
    };
  }, [s, r, a, c, e]);
  return /* @__PURE__ */ p(i, { ...n, ...m });
};
o.Item = C;
o.Header = v;
o.Body = x;
o.displayName = "BRL.AccordionBasic";
export {
  o as A
};
//# sourceMappingURL=accordion-basic.js.map
