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.67 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 = "#FC3E04"; const SiOpencritic = React__namespace.forwardRef(function SiOpencritic2({ title = "OpenCritic", 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: "M11.965 0a12.044 12.044 0 0 0-4.28.8 11.988 11.988 0 0 0-3.663 2.237A11.995 11.995 0 0 0 .22 14.29a11.925 11.925 0 0 0 1.93 4.565 12.039 12.039 0 0 0 5.896 4.478 12.043 12.043 0 0 0 8.793-.347 12.055 12.055 0 0 0 3.082-1.97c-.778-.785-1.56-1.564-2.34-2.345a8.688 8.688 0 0 1-2.69 1.533 8.73 8.73 0 0 1-4.757.29 8.658 8.658 0 0 1-3.485-1.637 8.73 8.73 0 0 1-2.394-2.9 8.722 8.722 0 0 1-.629-6.31 8.725 8.725 0 0 1 4.447-5.405 8.657 8.657 0 0 1 4.082-.934 8.667 8.667 0 0 1 5.43 2.027c.779-.78 1.562-1.56 2.34-2.344a12.007 12.007 0 0 0-3.77-2.25 12.044 12.044 0 0 0-4.19-.74zm9.047 4.076L18.67 6.418l.002.002a8.72 8.72 0 0 1 1.72 3.29 8.75 8.75 0 0 1-.046 4.742 8.725 8.725 0 0 1-1.678 3.13l2.342 2.341a12.013 12.013 0 0 0 2.347-4.04 12.049 12.049 0 0 0-.35-8.668 12.02 12.02 0 0 0-1.995-3.138zm-8.91.21a7.72 7.72 0 0 0-2.965.55v.002c0 1.07-.002 2.14 0 3.21L12 10.913c.96-.954 1.912-1.91 2.87-2.867V4.838a7.72 7.72 0 0 0-2.768-.553zM8.045 9.13c-1.07.003-2.14-.003-3.209.004a7.77 7.77 0 0 0 .004 5.733l3.203.002c.96-.955 1.916-1.914 2.873-2.872zm7.916 0c-.962.953-1.917 1.91-2.875 2.867V12c.958.956 1.915 1.914 2.875 2.87h3.203a7.747 7.747 0 0 0 0-5.74c-1.068 0-2.135.004-3.203 0zM12 13.084 9.137 15.95v3.211a7.718 7.718 0 0 0 5.734-.002v-3.203c-.957-.957-1.91-1.917-2.87-2.87z" }) ] } ); }); exports.default = SiOpencritic; exports.defaultColor = defaultColor;