@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 2.32 kB
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
const jsxRuntime = require('react/jsx-runtime');
const React = require('react');
function _interopNamespaceDefault(e) {
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
if (e) {
for (const k in e) {
if (k !== 'default') {
const d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: () => e[k]
});
}
}
}
n.default = e;
return Object.freeze(n);
}
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
const defaultColor = "#ABE659";
const SiMailbox = React__namespace.forwardRef(function SiMailbox2({ title = "mailbox", color = "currentColor", size = 24, ...others }, ref) {
if (color === "default") {
color = defaultColor;
}
return /* @__PURE__ */ jsxRuntime.jsxs(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
fill: color,
viewBox: "0 0 24 24",
ref,
...others,
children: [
/* @__PURE__ */ jsxRuntime.jsx("title", { children: title }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m14.196 20.014-7.711-5.836c-.48-.31-.733-.268-1.121.155a71.39 71.39 0 0 0-.26.303c-.226.275-.353.451-.262.775.007.043 2.397 7.352 2.397 7.352.225.782.782 1.212 1.642 1.226h3.545c.543 0 .825-.112 1.142-.479l.966-1.283c.67-.951.592-1.459-.338-2.22m-10.22-5.8L9.81 6.494c.31-.48.268-.733-.155-1.12-.105-.092-.204-.177-.303-.261-.275-.226-.45-.353-.775-.261-.042.007-7.352 2.396-7.352 2.396C.444 7.475.014 8.032 0 8.892v3.545c0 .543.113.825.48 1.142l1.282.965c.952.67 1.46.593 2.22-.338m16.043-4.412-5.836 7.71c-.31.48-.268.734.155 1.122l.303.26c.275.226.45.353.775.261.042-.007 7.352-2.396 7.352-2.396.782-.226 1.212-.783 1.226-1.643v-3.545c0-.543-.113-.825-.48-1.142l-1.282-.965c-.952-.67-1.46-.593-2.22.338M9.79 3.986l7.711 5.836c.48.31.733.268 1.121-.155l.26-.303c.226-.275.353-.451.262-.775-.007-.043-2.397-7.352-2.397-7.352-.225-.782-.782-1.212-1.642-1.226h-3.546c-.542 0-.824.112-1.141.479l-.966 1.283c-.67.951-.592 1.459.338 2.22" })
]
}
);
});
exports.default = SiMailbox;
exports.defaultColor = defaultColor;