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.87 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 = "#FF2E63"; const SiFyle = React__namespace.forwardRef(function SiFyle2({ title = "Fyle", 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: "M10.024 0H1.241C.56 0 0 .56 0 1.243v21.514C0 23.44.56 24 1.241 24h21.518A1.24 1.24 0 0 0 24 22.757V1.243C24 .56 23.44 0 22.759 0H11.675v15.592c-.04.775-.29 1.397-.761 1.865-.92.927-2.521 1.049-3.921 1.049-1.891 0-4.432-.244-4.862-2.273l-.06-.508c-.02-.101-.02-.387-.02-1.131V3.965c0-.488.16-.907.51-1.254A1.7 1.7 0 0 1 3.812 2.2l4.611.02.161.041v1.562H3.962c-.12 0-.18.061-.18.142v3.484h3.491v1.599H3.782v6.566c.04 1.15 1.74 1.375 3.181 1.375.64-.021 1.991-.021 2.601-.632.16-.165.32-.471.46-.928V0Z" }) ] } ); }); exports.default = SiFyle; exports.defaultColor = defaultColor;