UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

22 lines (21 loc) 561 B
import { jsxs as e } from "react/jsx-runtime"; import { BUTTON_VARIANT_LEGACY as m, BUTTON_THEME_LEGACY as r } from "./Button.js"; import { Button as a } from "../../ui/buttons/Button.js"; const c = ({ dataTestId: o, ...t }) => { const n = { "data-testid": o, ...t, component: t.component || "a", ...r[t.theme] || {}, ...m[t.variant] || {} }; return /* @__PURE__ */ e(a, { ...n, children: [ n.label, t.children ] }); }; c.displayName = "ButtonAnchor"; export { c as ButtonAnchor }; //# sourceMappingURL=ButtonAnchor.js.map