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.22 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 SiTwenty = React__namespace.forwardRef(function SiTwenty2({ title = "Twenty", 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: "M20.97 0H3.03A3.03 3.03 0 0 0 0 3.03v17.94A3.03 3.03 0 0 0 3.03 24h17.94A3.03 3.03 0 0 0 24 20.97V3.03A3.03 3.03 0 0 0 20.97 0ZM4.813 8.936a2.376 2.376 0 0 1 2.374-2.375h4.573c.067 0 .129.04.157.103a.172.172 0 0 1-.03.185l-1.002 1.088a.924.924 0 0 1-.678.299H7.2a.713.713 0 0 0-.713.713v1.796a.418.418 0 0 1-.418.419h-.836a.418.418 0 0 1-.419-.419V8.936zm14.224 6.128a2.376 2.376 0 0 1-2.374 2.375h-1.944a2.376 2.376 0 0 1-2.375-2.375v-3.401c0-.231.087-.454.243-.625l1.134-1.23a.172.172 0 0 1 .298.115v5.13c0 .393.32.713.713.713h1.92c.393 0 .713-.32.713-.713V8.949a.713.713 0 0 0-.713-.713h-2.233c-.255 0-.499.108-.674.295l-6.658 7.235h4c.232 0 .419.187.419.418v.837a.418.418 0 0 1-.419.418h-5.39a.886.886 0 0 1-.886-.886v-.443c0-.223.083-.436.234-.6l7.465-8.109a2.603 2.603 0 0 1 1.916-.84h2.235a2.376 2.376 0 0 1 2.375 2.375v6.128z" }) ] } ); }); exports.default = SiTwenty; exports.defaultColor = defaultColor;