import { jsx as n } from "react/jsx-runtime";
import r from "../../utils/classNames.js";
const p = (o) => {
  const { text: t, bsStyle: m = "primary", className: s, onClick: a = () => {
  }, href: e } = o;
  if (e)
    return /* @__PURE__ */ n("a", { className: r("margin-top-15", s), href: e, onClick: a, children: t });
  const c = r("btn", "margin-top-10", `btn-${m}`, s);
  return /* @__PURE__ */ n("button", { className: c, type: "button", onClick: a, children: t });
};
export {
  p as default
};
//# sourceMappingURL=StateButton.js.map
