@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 1.94 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 = "#FF2600";
const SiChinarailway = React__namespace.forwardRef(function SiChinarailway2({ title = "China Railway", 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: "M15.642 18.64a8.035 8.035 0 1 0-7.284 0l-1.476 1.932a10.435 10.435 0 0 1 3.136-19.339 1.043 1.043 0 0 1 .939-1.186 11.478 11.478 0 0 1 2.086 0 1.043 1.043 0 0 1 .939 1.186 10.435 10.435 0 0 1 3.136 19.339zm2.805 4.04a.417.417 0 0 1 .336.41V24H5.217v-.91a.417.417 0 0 1 .336-.41l4.438-.887a1.46 1.46 0 0 0 1.174-1.432v-5.934a1.043 1.043 0 0 0-.757-1.003l-2.06-.59V10.94a1.46 1.46 0 0 1 1.345-1.456 29.217 29.217 0 0 1 4.614 0 1.46 1.46 0 0 1 1.345 1.456v1.896l-2.06.589a1.043 1.043 0 0 0-.757 1.003v5.934a1.46 1.46 0 0 0 1.174 1.432z" })
]
}
);
});
exports.default = SiChinarailway;
exports.defaultColor = defaultColor;