@clubmed/trident-ui
Version:
Shared ClubMed React UI components
20 lines (19 loc) • 472 B
JavaScript
import { jsxs as n } from "react/jsx-runtime";
import { BUTTON_VARIANT_LEGACY as r, BUTTON_THEME_LEGACY as o } from "./Button.js";
import { FakeButton as m } from "./FakeButton.js";
const i = (t) => {
const e = {
...t,
...o[t.theme] || {},
...r[t.variant] || {}
};
return /* @__PURE__ */ n(m, { ...e, children: [
e.label,
t.children
] });
};
i.displayName = "InertButton";
export {
i as InertButton
};
//# sourceMappingURL=InertButton.js.map