@frontify/fondue
Version:
Design system of Frontify
25 lines (24 loc) • 948 B
JavaScript
import { jsxs as I, jsx as m } from "react/jsx-runtime";
import { memo as n } from "react";
import { IconSize as i } from "../IconSize.es.js";
import f from "./IconImageWithText12.es.js";
import a from "./IconImageWithText16.es.js";
import c from "./IconImageWithText20.es.js";
import l from "./IconImageWithText24.es.js";
import x from "./IconImageWithText32.es.js";
const o = (e) => {
const t = e.size || i.Size16;
return /* @__PURE__ */ I("span", { children: [
t === i.Size12 && !e.filled && /* @__PURE__ */ m(f, { ...e }),
t === i.Size16 && !e.filled && /* @__PURE__ */ m(a, { ...e }),
t === i.Size20 && !e.filled && /* @__PURE__ */ m(c, { ...e }),
t === i.Size24 && !e.filled && /* @__PURE__ */ m(l, { ...e }),
t === i.Size32 && !e.filled && /* @__PURE__ */ m(x, { ...e })
] });
};
o.displayName = "FondueIconImageWithText";
const u = n(o);
export {
u as default
};
//# sourceMappingURL=IconImageWithText.es.js.map