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.13 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 = "#1ED3E4"; const SiRoot = React__namespace.forwardRef(function SiRoot2({ title = "ROOT", 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: "M21.57 4.758a.4.4 0 0 0-.097 0q-2.521.045-5.047.097c-.973.016-1.946.04-2.914.051-.168.004-.246.032-.274.223-.367 2.309-.746 4.617-1.12 6.922-.403 2.496-.81 4.988-1.212 7.484l-.36 2.215c-.089-.059-.105-.145-.14-.219q-1.667-3.444-3.32-6.894c-.082-.172-.145-.203-.328-.117a702 702 0 0 1-5.516 2.515 1 1 0 0 0-.11.063C3.052 21.176 7.196 24 12 24c6.625 0 12-5.371 12-12 0-2.719-.906-5.227-2.434-7.242Zm-.379-.473A11.98 11.98 0 0 0 12 0C5.371 0 0 5.371 0 12c0 1.621.324 3.168.906 4.582q.046-.014.11-.05c2.129-1.223 4.265-2.434 6.394-3.657.192-.113.262-.086.356.113.691 1.489 1.398 2.969 2.101 4.453.028.055.035.125.121.164q.142-.812.278-1.613.701-4.106 1.398-8.219c.195-1.16.399-2.316.59-3.476.023-.14.074-.188.215-.184q2.069.047 4.144.086 2.203.046 4.407.086" }) ] } ); }); exports.default = SiRoot; exports.defaultColor = defaultColor;