@frontify/fondue
Version:
Design system of Frontify
25 lines (24 loc) • 941 B
JavaScript
import { jsxs as o, jsx as n } from "react/jsx-runtime";
import { memo as s } from "react";
import { IconSize as i } from "../IconSize.es.js";
import S from "./IconDesignSystem12.es.js";
import f from "./IconDesignSystem16.es.js";
import c from "./IconDesignSystem20.es.js";
import l from "./IconDesignSystem24.es.js";
import r from "./IconDesignSystem32.es.js";
const t = (e) => {
const m = e.size || i.Size16;
return /* @__PURE__ */ o("span", { children: [
m === i.Size12 && !e.filled && /* @__PURE__ */ n(S, { ...e }),
m === i.Size16 && !e.filled && /* @__PURE__ */ n(f, { ...e }),
m === i.Size20 && !e.filled && /* @__PURE__ */ n(c, { ...e }),
m === i.Size24 && !e.filled && /* @__PURE__ */ n(l, { ...e }),
m === i.Size32 && !e.filled && /* @__PURE__ */ n(r, { ...e })
] });
};
t.displayName = "FondueIconDesignSystem";
const x = s(t);
export {
x as default
};
//# sourceMappingURL=IconDesignSystem.es.js.map