UNPKG

@icons-pack/react-simple-icons

Version:

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

52 lines (45 loc) 3.1 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 = "#FD5200"; const SiJdoodle = React__namespace.forwardRef(function SiJdoodle2({ title = "JDoodle", 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: "M2.85 4.396a.712.712 0 0 0-.046.976l2.583 2.553a.734.734 0 0 0 .988-.046.721.721 0 0 0 0-1.035L3.898 4.396a.743.743 0 0 0-1.048 0zm18.305-.004a.712.712 0 0 1 .047.977l-2.583 2.553a.734.734 0 0 1-.988-.046.721.721 0 0 1 0-1.036l2.477-2.448a.743.743 0 0 1 1.047 0zm-16.65 9.045a.732.732 0 0 1-.742.732h-2.27a.738.738 0 0 1-.741-.732c0-.408.338-.732.74-.732h2.271c.413 0 .741.333.741.732zm7.49-11.123c.413 0 .742.324.742.732v2.243a.738.738 0 0 1-.741.732.738.738 0 0 1-.742-.732V3.046c0-.408.338-.732.742-.732zm11.257 11.132a.732.732 0 0 1-.741.732h-2.27a.738.738 0 0 1-.742-.732c0-.408.338-.732.742-.732h2.27c.413 0 .741.333.741.732zm-10.135 4.06c-.03 0-.036-.048-.007-.056 1.738-.484 3.04-2.105 3.04-3.984-.001-2.274-1.879-4.134-4.133-4.132-2.266.015-4.119 1.898-4.105 4.159a4.142 4.142 0 0 0 3.048 3.955c.029.008.023.057-.007.057l-2.733.006a.197.197 0 0 1-.14-.057 5.717 5.717 0 0 1-1.683-3.926c-.056-3.04 2.531-5.682 5.586-5.714 3.055-.032 5.675 2.577 5.683 5.63-.003 1.54-.667 2.977-1.704 4.01a.198.198 0 0 1-.14.057zM24 17.92c0 .804-.244 1.417-.72 1.853-.482.436-1.128.654-1.922.654h-7.156a1.862 1.862 0 0 0-.208-.012c-.804 0-1.21.5-1.457 1.203a.102.102 0 0 1-.096.07h-.874a.1.1 0 0 1-.095-.07c-.152-.457-.24-.826-.69-1.024-.217-.112-.489-.167-.812-.167H2.642c-.808 0-1.446-.218-1.922-.654-.475-.436-.72-1.049-.72-1.853 0-.098.004-.196.012-.292a.099.099 0 0 1 .099-.09h1.026c.065 0 .114.06.113.125v.066c0 .388.121.695.366.913.244.218.598.327 1.073.327h7.32c.795 0 1.427.218 1.91.66.026.028.053.055.074.083.026-.028.054-.055.081-.082.482-.443 1.12-.661 1.909-.661h7.327c.469 0 .829-.109 1.073-.327.244-.218.36-.525.36-.913v-.066c-.002-.064.048-.125.112-.125h1.034c.051 0 .095.039.099.09.008.095.011.193.011.292z" }) ] } ); }); exports.default = SiJdoodle; exports.defaultColor = defaultColor;