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.18 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 = "#24D2C8"; const SiDoubanread = React__namespace.forwardRef(function SiDoubanread2({ title = "Douban Read", 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: "M16.056 3c-4.128 0-5.432 3.97-7.994 5.966l-.152.115c-.828.607-1.787 1.005-3.012 1.005C2.009 10.083.38 7.855 0 6.435c0 1.098.177 2.248.499 3.397C2.049 15.403 6.96 21 11.41 21c5.206 0 8.985-5.428 10.127-9.556.369-1.332 1.204-2.478 2.368-3.178l.095-.06-.14-.054-.001.004c-1.144-.453-2.082-1.308-2.72-2.384-.983-1.65-2.984-2.77-5.083-2.77m2.705 3.75c.379.008.702.358.736.822.037.496-.269.933-.683.976-.412.041-.775-.325-.811-.82s.267-.93.68-.976zm-4.609 2.252a2.46 2.46 0 0 1 1.048.714c1.487 1.825.403 4.62-1.368 5.858-2.196 1.616-5.202.876-7.382-.379a9.5 9.5 0 0 1-2.775-2.433 10 10 0 0 1-.672-1.021c-.011-.018.015-.035.027-.019 1.391 1.977 3.554 3.302 5.904 3.715.947.144 1.903.24 2.794-.036 1.532-.524 2.903-1.736 3.334-3.329.321-1.088.026-2.33-.938-3.019-.028-.017 0-.064.028-.052" }) ] } ); }); exports.default = SiDoubanread; exports.defaultColor = defaultColor;