UNPKG

@web3sdks/chain-icons

Version:

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

59 lines (58 loc) 3.17 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/stratis.tsx var stratis_exports = {}; __export(stratis_exports, { default: () => stratis_default }); module.exports = __toCommonJS(stratis_exports); var React = __toESM(require("react")); var Stratis = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2000 1858", ...props }, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("linearGradient", { id: "a", x2: 2e3, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { stopColor: "#fff" }), /* @__PURE__ */ React.createElement("stop", { stopColor: "#21bbc0" }), /* @__PURE__ */ React.createElement("stop", { offset: 0.34, stopColor: "#20b9c0" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#1387c9" }))), /* @__PURE__ */ React.createElement("path", { fill: "url(#a)", d: "m135.83 740.32 875.06 551.4a1.67 1.67 0 0 0 1.91 0l892.7-563.89a1.68 1.68 0 0 0 .5-2.42 1.21 1.21 0 0 0-.5-.5L1021 161.21a1.67 1.67 0 0 0-1.91 0L135.83 737.3a1.81 1.81 0 0 0-.3 2.62 1.39 1.39 0 0 0 .3.4Zm875.07 1197.92a60.11 60.11 0 0 1-32.75-9.67L41 1325.07a1.84 1.84 0 0 1 0-2.42l39.9-62.07a1.84 1.84 0 0 1 2.42 0l927.16 597.15a1.67 1.67 0 0 0 1.91 0l878.69-564.6a69.81 69.81 0 0 0 32.25-59v-139a1.88 1.88 0 0 0-1.91-1.71 2.37 2.37 0 0 0-.81.2l-887.46 565.2a60.62 60.62 0 0 1-65 0L71.34 1088.27A152 152 0 0 1 0 959.39V764.91a60.31 60.31 0 0 1 17-42.12l3-2.42 17.23-11.79 951.34-620 1-.6a60.5 60.5 0 0 1 62.48 1.51l919.7 585.86a60.68 60.68 0 0 1 0 102.48l-927.56 585.66a61 61 0 0 1-64.49 0L79.91 797a1.79 1.79 0 0 0-2.42.6 1.5 1.5 0 0 0-.2.91v160.78a75.13 75.13 0 0 0 34.86 63.71l887.66 564.2a1.67 1.67 0 0 0 1.91 0l905.39-577.6a60.37 60.37 0 0 1 73 6 62.75 62.75 0 0 1 19.45 47.26v170.6a147.19 147.19 0 0 1-67.72 124.35l-888.67 571a61.91 61.91 0 0 1-32.25 9.37Z", transform: "translate(0 -80)" })); var stratis_default = Stratis; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=stratis.js.map