UNPKG

@icons-pack/react-simple-icons

Version:

This package provides the Simple Icons packaged as a set of React components.

52 lines (45 loc) 1.93 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 = "#0284C7"; const SiDicebear = React__namespace.forwardRef(function SiDicebear2({ title = "DiceBear", 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: "M1.5 0A1.5 1.5 0 0 0 0 1.5v21A1.5 1.5 0 0 0 1.5 24h12.84a.99.99 0 0 0 .87-1.468c-.986-1.777-1.929-3.346-2.523-4.024-1.69-1.933-9.626-.13-9.877-6.435-.016-.415.262-.777.655-.908l3.872-1.29c.226-.076.418-.23.547-.43.365-.569 1.182-1.768 1.928-2.375.707-.574 1.85-1.301 3.936-1.636.417-.067.749-.379.952-.75.488-.89 1.457-1.432 2.478-1.285 1.332.192 2.249 1.483 2.048 2.883a.3.3 0 0 0 .094.276c.889.794 1.829 1.894 2.759 3.137.596.797 1.921.393 1.921-.602V1.5A1.5 1.5 0 0 0 22.5 0zm9.375 9.625a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 1 0-2.5 0" }) ] } ); }); exports.default = SiDicebear; exports.defaultColor = defaultColor;