UNPKG

@frontify/fondue

Version:
35 lines (34 loc) 1.43 kB
import { jsxs as o, jsx as t } from "react/jsx-runtime"; import { memo as S } from "react"; import { IconSize as e } from "../IconSize.es.js"; import f from "./IconStar12Filled.es.js"; import r from "./IconStar12.es.js"; import n from "./IconStar16Filled.es.js"; import d from "./IconStar16.es.js"; import a from "./IconStar20Filled.es.js"; import c from "./IconStar20.es.js"; import z from "./IconStar24Filled.es.js"; import I from "./IconStar24.es.js"; import F from "./IconStar32Filled.es.js"; import u from "./IconStar32.es.js"; const m = (i) => { const l = i.size || e.Size16; return /* @__PURE__ */ o("span", { children: [ l === e.Size12 && i.filled && /* @__PURE__ */ t(f, { ...i }), l === e.Size12 && !i.filled && /* @__PURE__ */ t(r, { ...i }), l === e.Size16 && i.filled && /* @__PURE__ */ t(n, { ...i }), l === e.Size16 && !i.filled && /* @__PURE__ */ t(d, { ...i }), l === e.Size20 && i.filled && /* @__PURE__ */ t(a, { ...i }), l === e.Size20 && !i.filled && /* @__PURE__ */ t(c, { ...i }), l === e.Size24 && i.filled && /* @__PURE__ */ t(z, { ...i }), l === e.Size24 && !i.filled && /* @__PURE__ */ t(I, { ...i }), l === e.Size32 && i.filled && /* @__PURE__ */ t(F, { ...i }), l === e.Size32 && !i.filled && /* @__PURE__ */ t(u, { ...i }) ] }); }; m.displayName = "FondueIconStar"; const B = S(m); export { B as default }; //# sourceMappingURL=IconStar.es.js.map