@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 3.47 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 = "#EB7396";
const SiVencord = React__namespace.forwardRef(function SiVencord2({ title = "Vencord", 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: "M18.465 19.458a1.68 1.68 0 0 1 1.268-.221 1.68 1.68 0 0 1 .534 3.061 6.4 6.4 0 0 1-1.614.735 6.3 6.3 0 0 1-2.73.191 6.3 6.3 0 0 1-2.211-.764 6.4 6.4 0 0 1-1.735-1.453 6.57 6.57 0 0 1-1.529-4.22q0-.495.073-.982a6.6 6.6 0 0 1 .755-2.237 6.6 6.6 0 0 1 1.43-1.772 6.5 6.5 0 0 1 1.933-1.167 6.3 6.3 0 0 1 3.207-.354c.95.141 1.856.496 2.65 1.04a6.5 6.5 0 0 1 1.885 2.004 1.681 1.681 0 1 1-2.885 1.73 3.1 3.1 0 0 0-.903-.96 2.98 2.98 0 0 0-2.745-.321 3.1 3.1 0 0 0-.93.561 3.2 3.2 0 0 0-.698.864 3.3 3.3 0 0 0-.409 1.595 3.2 3.2 0 0 0 .747 2.062 3 3 0 0 0 .823.69 2.97 2.97 0 0 0 1.476.39c.284 0 .567-.041.84-.122a3 3 0 0 0 .768-.35M.64 5.584l4.317 9.217c.45.962 1.647 1.686 2.783 1.531s2.222-1.166 2.48-2.196l2.566-10.254c.258-1.03-.41-1.897-1.752-1.715-1.447.118-2.347 1.29-2.56 2.33L7.408 9.671c-.096.468-.337.496-.538.062L4.696 5.035c-.447-.964-1.564-1.777-2.74-1.617S.19 4.622.64 5.584M11.495.011q-.608.025-1.222.115a11.93 11.93 0 0 0-5.971 2.67A4.2 4.2 0 0 1 5.79 4.529L6.791 6.69l.502-2.435C7.603 2.744 8.87 1.152 10.9.97q.163-.021.327-.028c.828-.03 1.626.231 2.163.803.613.654.774 1.6.566 2.43l-1.6 6.397a7.7 7.7 0 0 1 1.861-1.035 7.5 7.5 0 0 1 2.836-.5 8 8 0 0 1 .963.08 7.5 7.5 0 0 1 3.14 1.232 7.65 7.65 0 0 1 2.228 2.369c.287.48.415 1.012.4 1.537.245-1.28.284-2.622.086-3.984C22.978 4.128 17.567-.25 11.495.011M.584 8.307a11.94 11.94 0 0 0-.456 5.418c.193 1.328.598 2.574.835 3.04.188.37.254.993.149 1.394l-.755 2.855c-.471 1.785.592 2.842 2.374 2.357l2.663-.723c.399-.109 1.016-.032 1.376.172 1.578.89 4.228 1.447 6.957 1.05l.146-.023a8 8 0 0 1-.743-.37v-.001a7.6 7.6 0 0 1-2.051-1.718 7.75 7.75 0 0 1-1.797-4.665c-.42.217-.884.367-1.38.434-1.746.238-3.337-.72-4.037-2.215zM17 14.743a1.8 1.8 0 0 0-.732.117 2 2 0 0 0-.58.351 2 2 0 0 0-.442.547 2.16 2.16 0 0 0-.264 1.031 2.04 2.04 0 0 0 .474 1.31 1.9 1.9 0 0 0 .506.424 1.8 1.8 0 0 0 .893.236h.002a1.8 1.8 0 0 0 .505-.073 2 2 0 0 0 .474-.216l.001-.001a2.86 2.86 0 0 1 2.15-.375 2.86 2.86 0 0 1 1.644 1.051 12 12 0 0 0 1.861-3.705c-.232.48-.6.898-1.085 1.19a2.87 2.87 0 0 1-3.916-.979 1.9 1.9 0 0 0-.56-.596 1.8 1.8 0 0 0-.932-.313z" })
]
}
);
});
exports.default = SiVencord;
exports.defaultColor = defaultColor;