@frontify/fondue
Version:
Design system of Frontify
35 lines (34 loc) • 1.41 kB
JavaScript
import { jsxs as o, jsx as l } from "react/jsx-runtime";
import { memo as f } from "react";
import { IconSize as e } from "../IconSize.es.js";
import d from "./IconPin12Filled.es.js";
import t from "./IconPin12.es.js";
import c from "./IconPin16Filled.es.js";
import z from "./IconPin16.es.js";
import I from "./IconPin20Filled.es.js";
import P from "./IconPin20.es.js";
import S from "./IconPin24Filled.es.js";
import r from "./IconPin24.es.js";
import F from "./IconPin32Filled.es.js";
import a from "./IconPin32.es.js";
const m = (i) => {
const n = i.size || e.Size16;
return /* @__PURE__ */ o("span", { children: [
n === e.Size12 && i.filled && /* @__PURE__ */ l(d, { ...i }),
n === e.Size12 && !i.filled && /* @__PURE__ */ l(t, { ...i }),
n === e.Size16 && i.filled && /* @__PURE__ */ l(c, { ...i }),
n === e.Size16 && !i.filled && /* @__PURE__ */ l(z, { ...i }),
n === e.Size20 && i.filled && /* @__PURE__ */ l(I, { ...i }),
n === e.Size20 && !i.filled && /* @__PURE__ */ l(P, { ...i }),
n === e.Size24 && i.filled && /* @__PURE__ */ l(S, { ...i }),
n === e.Size24 && !i.filled && /* @__PURE__ */ l(r, { ...i }),
n === e.Size32 && i.filled && /* @__PURE__ */ l(F, { ...i }),
n === e.Size32 && !i.filled && /* @__PURE__ */ l(a, { ...i })
] });
};
m.displayName = "FondueIconPin";
const A = f(m);
export {
A as default
};
//# sourceMappingURL=IconPin.es.js.map