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.88 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 = "#263C5C"; const SiDolibarr = React__namespace.forwardRef(function SiDolibarr2({ title = "Dolibarr", 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: "M20.275 0a3.18 3.168 0 0 0-3.18 3.169 3.18 3.168 0 0 0 3.18 3.168 3.18 3.168 0 0 0 3.18-3.168A3.18 3.168 0 0 0 20.275 0ZM.545.353v23.645H7.63L7.64 7.104h2.395c4.066 0 6.099 1.602 6.099 4.806 0 3.41-2.068 5.115-6.204 5.115H8.794v6.97s1.683.005 2.114.005c3.67 0 6.67-1.125 9-3.376 2.33-2.25 3.495-5.155 3.495-8.714 0-2.072-.423-3.903-1.268-5.493a3.803 3.803 0 0 1-1.86.495c-.982 0-1.96-.403-2.654-1.096a3.782 3.782 0 0 1-1.1-2.647c0-.533.12-1.063.34-1.548C14.913.776 12.557.353 9.79.353Z" }) ] } ); }); exports.default = SiDolibarr; exports.defaultColor = defaultColor;