UNPKG

@icons-pack/react-simple-icons

Version:

This package provides the Simple Icons packaged as a set of React components.

52 lines (45 loc) 2.17 kB
'use strict'; 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 SiNdi = React__namespace.forwardRef(function SiNdi2({ title = "NDI", 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: "M0 6.78v10.438h2.565V12.81c0-.275.165-.47.43-.47.221 0 .371.124.624.511l2.756 4.368h2.798V6.781H6.61v4.465c0 .275-.166.47-.43.47-.222 0-.373-.123-.625-.511L2.798 6.78Zm9.798 0v10.438h4.127c2.982 0 5.393-2.35 5.393-5.226s-2.425-5.211-5.39-5.211zm10.077 0v10.438h2.564V6.781Zm-7.177 2.35h1.066c1.69 0 2.922 1.216 2.922 2.846 0 1.673-1.231 2.89-2.922 2.89h-1.066a.336.336 0 0 1-.335-.336V9.466c0-.185.15-.336.335-.336m10.792 7.068a.513.513 0 0 0-.528.509c0 .286.23.511.528.511a.51.51 0 1 0 0-1.02m0 .082c.24 0 .43.185.43.426 0 .24-.19.425-.43.425a.423.423 0 0 1-.43-.425.42.42 0 0 1 .43-.426m-.17.155v.545h.1v-.222l.177.222h.112l-.14-.173a.06.06 0 0 1-.01-.034q-.002-.028.03-.033h.004a.15.15 0 0 0 .113-.143c0-.095-.08-.162-.188-.162zm.1.086h.094c.053 0 .09.03.09.08 0 .048-.034.075-.09.075h-.094z" }) ] } ); }); exports.default = SiNdi; exports.defaultColor = defaultColor;