@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
52 lines (45 loc) • 1.96 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 = "#000000";
const SiSmoothcomp = React__namespace.forwardRef(function SiSmoothcomp2({ title = "Smoothcomp", 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: "M6.3415 0C2.845 0 0 2.8445 0 6.3415v11.3166C0 21.155 2.8449 24 6.3415 24h11.317C21.155 24 24 21.155 24 17.658V6.3416C24 2.845 21.155 0 17.6585 0Zm0 2.1493h11.317c2.3117 0 4.1922 1.8805 4.1922 4.1922v11.3166c0 2.3118-1.8805 4.1923-4.1922 4.1923H6.3415c-2.3117 0-4.1922-1.8802-4.1922-4.1923V6.3415c0-2.3117 1.8805-4.1922 4.1922-4.1922zM7.06 5.638c-.7632 0-1.3842.6211-1.3842 1.3843v10.0035c0 .7629.621 1.384 1.3842 1.384h10.0047c.7628 0 1.3835-.6208 1.3835-1.3836V7.022c0-.37-.1443-.7174-.4057-.9788a1.3745 1.3745 0 0 0-.9786-.405Zm.765 2.1493h8.474v8.4735H7.825Z" })
]
}
);
});
exports.default = SiSmoothcomp;
exports.defaultColor = defaultColor;