UNPKG

@web3sdks/chain-icons

Version:

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

75 lines (74 loc) 2.7 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/tellor.tsx var tellor_exports = {}; __export(tellor_exports, { default: () => tellor_default }); module.exports = __toCommonJS(tellor_exports); var React = __toESM(require("react")); var Tellor = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 200 200", ...props }, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("linearGradient", { id: "b", x1: 88.62, x2: 104.7, y1: 867.19, y2: 929.41, gradientTransform: "translate(0 -798)", gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { offset: 0, stopColor: "#00ff8f" }), /* @__PURE__ */ React.createElement("stop", { offset: 0.43, stopColor: "#53fdb2" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#68fcbb" })), /* @__PURE__ */ React.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React.createElement("path", { fill: "none", d: "M0 0h200v200H0z" }))), /* @__PURE__ */ React.createElement("g", { "data-name": "Layer 2" }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#a)", "data-name": "Layer 1" }, /* @__PURE__ */ React.createElement("circle", { cx: 100, cy: 100, r: 100 }), /* @__PURE__ */ React.createElement("path", { fill: "url(#b)", d: "M164.8 77.5c4.4 17.2-82.3 59.7-121.6 69.8s76-39.7 71.5-56.9-96.4-3.1-57.1-13.2 102.8-16.9 107.2.3Z" })))); var tellor_default = Tellor; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=tellor.js.map