UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

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