@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 2.63 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 = "#10B981";
const SiHoppscotch = React__namespace.forwardRef(function SiHoppscotch2({ title = "Hoppscotch", 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: "M.334 22.806h18.803s-1.162-11.965-1.333-11.965c.034-.051.068-.103.068-.171.137-.838-2.564-1.966-6-2.513-3.435-.547-6.358-.308-6.495.53-.017.068 0 .12.017.188-.086-.034-5.06 13.931-5.06 13.931zM6.01 9.063c.068-.376.854-.598 2.05-.65-.358.069-.58.206-.615.377-.085.512 1.744 1.247 4.069 1.623 2.342.36 4.29.24 4.376-.29.017-.171-.154-.376-.479-.564 1.128.427 1.812.871 1.743 1.282-.12.684-2.7.871-5.777.376C8.3 10.72 5.907 9.764 6.01 9.063zm6.444-4.491C5.82 3.529.248 3.957.009 5.546c-.152.933 1.577 2.057 4.377 3.03.004-.029.003-.054.01-.084.203-1.096 1.526-1.629 4.041-1.629 1.092 0 2.334.106 3.593.306 2.572.41 5.64 1.29 6.536 2.53.296.409.333.792.303 1.062-.003.039-.01.075-.016.111 2.973-.061 4.985-.594 5.139-1.53.24-1.59-4.923-3.727-11.538-4.77zM8.06 6.042c-.274-.051-.479-.308-.428-.581.052-.274.308-.479.581-.427.274.05.479.307.428.58-.035.274-.308.462-.581.428zm4.085.479a.67.67 0 0 1-.564-.787.67.67 0 0 1 .786-.564.67.67 0 0 1 .564.787.715.715 0 0 1-.786.564zm4.017.803c-.273-.051-.479-.308-.427-.581.051-.273.307-.479.58-.427.274.051.48.307.428.58a.505.505 0 0 1-.581.428zM8.538 3.117c1.037-1.369 2.755-2.149 4.565-1.866 1.814.284 3.227 1.572 3.778 3.21a52.596 52.596 0 0 0-4.271-.877 49.611 49.611 0 0 0-4.072-.467z" })
]
}
);
});
exports.default = SiHoppscotch;
exports.defaultColor = defaultColor;