@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 2.38 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 = "#FDA238";
const SiNewgrounds = React__namespace.forwardRef(function SiNewgrounds2({ title = "Newgrounds", 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: "M1.187 3.236C.397 3.966.002 4.876.002 5.97v15.584c-.02.243.101.364.365.364H3.07c.243 0 .365-.121.365-.364V6.03c0-.405.212-.608.638-.608H6.29c.405 0 .608.203.608.608v15.523c0 .243.142.364.425.364h2.643c.243 0 .374-.121.395-.364V5.97c-.02-1.093-.415-2.005-1.185-2.734A4.047 4.047 0 0 0 6.29 2.082H4.073c-1.134 0-2.096.385-2.886 1.154m20.9 18.105c.263-.162.506-.344.728-.547.79-.77 1.185-1.68 1.185-2.734v-5.62c-.02-.263-.152-.394-.395-.394h-4.374c-.263 0-.395.131-.395.394v2.522c0 .263.132.395.395.395h.941c.244 0 .365.141.365.425v2.278c0 .385-.192.577-.577.577h-2.248c-.425 0-.638-.192-.638-.577V6.03c0-.404.213-.607.638-.607h2.248c.385 0 .577.203.577.608V8.34c-.02.243.111.374.395.394h2.673c.243-.02.375-.151.395-.394V5.97c0-1.073-.395-1.984-1.185-2.734-.81-.77-1.762-1.154-2.855-1.154h-2.248c-1.114 0-2.066.385-2.855 1.154-.83.75-1.236 1.66-1.216 2.734v12.09c-.02 1.053.385 1.965 1.216 2.734.222.203.465.385.729.547.627.385 1.336.577 2.126.577h2.248c.79 0 1.498-.192 2.126-.577Z" })
]
}
);
});
exports.default = SiNewgrounds;
exports.defaultColor = defaultColor;