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.15 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 = "#2563EB"; const SiFormik = React__namespace.forwardRef(function SiFormik2({ title = "Formik", 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.545 10.2945 17.792 8.712l.0011-3.3004 2.7531 1.5824Zm-.001 3.5897-2.7522-1.582.0011-3.1528 2.7522 1.5819zm.0263 3.6317-2.786-1.6013.0012-3.1529 2.786 1.6013zm-7.152-6.5068 3.9973-2.2977.0003-3.1523-3.9973 2.2978zm-2.4754 4.9833 6.4574-3.7118.0003-3.1522-6.4574 3.7118zm-4.3424 6.1423 10.8226-6.2208.0003-3.1522L6.601 18.9825zM9.5898 24l-2.7697-1.5927 10.7837-6.2013 2.7697 1.5927ZM3.455 13.7775 6.208 15.36l-.0011 3.3609-2.7531-1.5825Zm.0012-3.5897 2.7522 1.582-.001 3.1528-2.7523-1.5819zm-.0265-3.6114 2.786 1.6013-.001 3.1529-2.786-1.6013Zm7.1517 6.4856L6.584 15.3598l-.0004 3.1523 3.9973-2.2978zm2.4754-4.9832-6.4574 3.7117-.0004 3.1523 6.4574-3.7118zm4.3586-6.1516L6.5765 8.1573l-.0004 3.1522L17.415 5.0793ZM14.534 0l2.7697 1.5927L6.3961 7.8652 3.6264 6.2725Z" }) ] } ); }); exports.default = SiFormik; exports.defaultColor = defaultColor;