UNPKG

@frontify/fondue

Version:
25 lines (24 loc) 899 B
import { jsxs as m, jsx as n } from "react/jsx-runtime"; import { memo as f } from "react"; import { IconSize as o } from "../IconSize.es.js"; import c from "./IconButton12.es.js"; import l from "./IconButton16.es.js"; import u from "./IconButton20.es.js"; import r from "./IconButton24.es.js"; import d from "./IconButton32.es.js"; const e = (t) => { const i = t.size || o.Size16; return /* @__PURE__ */ m("span", { children: [ i === o.Size12 && !t.filled && /* @__PURE__ */ n(c, { ...t }), i === o.Size16 && !t.filled && /* @__PURE__ */ n(l, { ...t }), i === o.Size20 && !t.filled && /* @__PURE__ */ n(u, { ...t }), i === o.Size24 && !t.filled && /* @__PURE__ */ n(r, { ...t }), i === o.Size32 && !t.filled && /* @__PURE__ */ n(d, { ...t }) ] }); }; e.displayName = "FondueIconButton"; const s = f(e); export { s as default }; //# sourceMappingURL=IconButton.es.js.map