UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

19 lines (18 loc) 551 B
import { jsxs as p, jsx as n } from "react/jsx-runtime"; import { Icon as c } from "@clubmed/trident-icons"; const x = ({ showLabel: s, label: t, children: r, icon: e, iconType: o, iconWidth: m }) => /* @__PURE__ */ p("span", { className: "flex items-center justify-center gap-x-8 w-full", children: [ s ? t : t && /* @__PURE__ */ n("span", { className: "sr-only", children: t }), r, e && /* @__PURE__ */ n(c, { name: e, width: m ?? "24px", type: o }) ] }); export { x as ButtonContent }; //# sourceMappingURL=ButtonContent.js.map