@clubmed/trident-ui
Version:
Shared ClubMed React UI components
15 lines (14 loc) • 477 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { BUTTON_VARIANT_LEGACY as a, BUTTON_THEME_LEGACY as e, Button as m } from "./Button.js";
const c = ({ children: r, ...t }) => {
const n = {
...t,
...e[t.theme] || {},
...a[t.variant] || {}
};
return /* @__PURE__ */ o(m, { ...n, variant: "circle", children: r && /* @__PURE__ */ o("span", { className: "sr-only", children: r }) });
};
export {
c as ArrowButton
};
//# sourceMappingURL=ArrowButton.js.map