UNPKG

@web3sdks/chain-icons

Version:

A quick, easy and light-weight way to add chain / network icons to your react app.

70 lines (69 loc) 3.35 kB
"use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/yearn-finance.tsx var yearn_finance_exports = {}; __export(yearn_finance_exports, { default: () => yearn_finance_default }); module.exports = __toCommonJS(yearn_finance_exports); var React = __toESM(require("react")); var YearnFinance = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", id: "Layer_1", x: 0, y: 0, viewBox: "0 0 100 100", ...props }, /* @__PURE__ */ React.createElement("style", null, ".st1{fill-rule:evenodd;clip-rule:evenodd;fill:#fff}"), /* @__PURE__ */ React.createElement("linearGradient", { id: "SVGID_1_", x1: 0, x2: 100, y1: 99.89, y2: -0.11, gradientTransform: "matrix(1 0 0 -1 0 99.89)", gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { offset: 0, stopColor: "#0077fc" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#095eb5" })), /* @__PURE__ */ React.createElement("path", { fill: "url(#SVGID_1_)", fillRule: "evenodd", d: "M100 50c0-6.5-1.3-13.1-3.8-19.1S90 19.3 85.4 14.6C80.7 10 75.2 6.3 69.1 3.8S56.5 0 50 0 36.9 1.3 30.9 3.8 19.3 10 14.6 14.6C10 19.3 6.3 24.8 3.8 30.9S0 43.5 0 50s1.3 13.1 3.8 19.1S10 80.7 14.6 85.4c4.6 4.6 10.2 8.3 16.2 10.8S43.5 100 50 100s13.1-1.3 19.1-3.8S80.7 90 85.4 85.4c4.6-4.6 8.3-10.2 10.8-16.2S100 56.5 100 50z", clipRule: "evenodd" }), /* @__PURE__ */ React.createElement("path", { d: "M47.4 27.4h5.2v45.2h-5.2V27.4z", className: "st1" }), /* @__PURE__ */ React.createElement("path", { d: "M44.5 48.7v-5.4c-4.1-2-7-6.3-7-11.2 0-6.9 5.6-12.5 12.5-12.5 7.8 0 13.4 5.6 13.4 12.5 0 1.7-.4 3.4-1.2 5.4L60 30.3l-4.4 1.4 3.9 14.9L74.7 41l-1.9-4.4-5.7 1.9c1-2.2 1.2-3.9 1.2-6.5 0-9.7-7.8-17.5-18.4-17.5-9.7 0-17.5 7.8-17.5 17.5.1 7.8 5.1 14.4 12.1 16.7zm11 2.6v5.4c4.1 2 7 6.3 7 11.2 0 6.9-5.6 12.5-12.5 12.5-7.8 0-13.4-5.6-13.4-12.5 0-1.7.4-3.4 1.2-5.4l2.2 7.2 4.4-1.4-3.9-14.9L25.3 59l1.9 4.4 5.7-1.9c-1 2.2-1.2 3.9-1.2 6.5 0 9.7 7.8 17.5 18.4 17.5 9.7 0 17.5-7.8 17.5-17.5-.1-7.8-5.1-14.4-12.1-16.7z", className: "st1" })); var yearn_finance_default = YearnFinance; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=yearn-finance.js.map