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.16 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 = "#37A7FF"; const SiWeread = React__namespace.forwardRef(function SiWeread2({ title = "WeRead", 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: "M5.12 0A5.11 5.11 0 0 0 0 5.12v13.76A5.11 5.11 0 0 0 5.12 24h13.76A5.11 5.11 0 0 0 24 18.88V5.12A5.11 5.11 0 0 0 18.88 0Zm12.954 10.24c2.04 0 3.694 1.39 3.694 3.107 0 1.716-1.653 3.107-3.694 3.107-.43 0-.842-.063-1.226-.177a.37.37 0 0 0-.29.032l-.794.463a.123.123 0 0 1-.18-.14l.177-.668a.25.25 0 0 0-.098-.267c-.785-.57-1.284-1.41-1.284-2.35 0-1.716 1.655-3.107 3.695-3.107m-1.231 1.616a.495.495 0 0 0-.493.497c0 .274.22.497.493.497a.495.495 0 0 0 .492-.497.495.495 0 0 0-.492-.497m2.462 0a.495.495 0 0 0-.492.497c0 .274.22.497.492.497a.495.495 0 0 0 .493-.497.495.495 0 0 0-.493-.497M18.08 18.88h5.12c0 2.4-1.92 4.32-4.32 4.32H5.12C2.72 23.2.8 21.28.8 18.88h5.12c1.6 0 3.914-.012 5.28 1.28.489.462.677 1.17.798 1.17.12 0 .292-.671.802-1.17 1.305-1.275 3.215-1.28 5.28-1.28" }) ] } ); }); exports.default = SiWeread; exports.defaultColor = defaultColor;