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.47 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 = "#4F433C"; const SiDistrobox = React__namespace.forwardRef(function SiDistrobox2({ title = "Distrobox", 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: "M12 0a2.596 2.596 0 0 0-1.298.348L2.558 5.05A2.596 2.596 0 0 0 1.26 7.298v9.404a2.596 2.596 0 0 0 1.298 2.248l8.144 4.702a2.596 2.596 0 0 0 2.596 0l8.144-4.702a2.596 2.596 0 0 0 1.298-2.248V7.298a2.596 2.596 0 0 0-1.298-2.248L13.298.348A2.596 2.596 0 0 0 12 0Zm-.15.9a.865.865 0 0 1 .583.102l7.876 4.548a.288.288 0 0 1 0 .5l-7.876 4.547a.865.865 0 0 1-.866 0L3.691 6.049a.288.288 0 0 1 0-.5l7.876-4.547A.865.865 0 0 1 11.85.9zm4.126 4.069-2.666 1.54.69.398 2.667-1.539zm-5.025.4-3.618.862.846.489 2.239-.634-1.083 1.301.846.489 1.493-2.089zM2.498 7.746a.288.288 0 0 1 .194.034l7.876 4.547a.865.865 0 0 1 .433.75v9.095a.288.288 0 0 1-.433.25l-7.876-4.548a.865.865 0 0 1-.433-.75V8.03a.288.288 0 0 1 .239-.284zm19.004 0a.288.288 0 0 1 .239.284v9.095a.865.865 0 0 1-.433.749l-7.876 4.547a.288.288 0 0 1-.433-.25v-9.094a.865.865 0 0 1 .433-.75l7.876-4.547a.288.288 0 0 1 .194-.034zm-17.58 3.529v.977l1.67 1.622-1.67-.288v.977l2.556.249v-.835zm13.296 2.878-2.555.248v.977l1.668-.304-1.668 1.639v.977l2.555-2.703zm2.86.85-2.667 1.539v.798l2.666-1.54zM6.67 16.589v.798l2.666 1.54v-.798z" }) ] } ); }); exports.default = SiDistrobox; exports.defaultColor = defaultColor;