@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 1.88 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 = "#41B1EA";
const SiAnichart = React__namespace.forwardRef(function SiAnichart2({ title = "AniChart", 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: "M17.293 2.951a9 9 0 0 0-5.162 1.62l1.572 4.483a4.68 4.68 0 0 1 3.596-1.706c1.068 0 2.113.364 2.935 1.045.51.41.957.487 1.468.07l1.837-1.438c.552-.44.622-.98.135-1.467a9.12 9.12 0 0 0-6.38-2.607M6.3 3.127 0 21.05h4.89l1.068-3.1h5.33l1.04 3.1h4.871L10.92 3.127Zm2.3 5.882 1.674 4.966h-3.2Zm12.386 6.318c-.272-.014-.544.103-.845.327-.81.646-1.808.98-2.841.98q-.502 0-.976-.102l1.58 4.508a9.13 9.13 0 0 0 5.583-2.421c.517-.494.446-1.057-.058-1.497l-1.797-1.515c-.223-.18-.434-.27-.646-.28" })
]
}
);
});
exports.default = SiAnichart;
exports.defaultColor = defaultColor;