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) 2.32 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/nexo.tsx var nexo_exports = {}; __export(nexo_exports, { default: () => nexo_default }); module.exports = __toCommonJS(nexo_exports); var React = __toESM(require("react")); var Nexo = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 49 42", ...props }, /* @__PURE__ */ React.createElement("path", { fill: "#3ca9e5", d: "m12.84.28 24.26 14v14.28L0 7.14 11.89.28a1 1 0 0 1 .95 0Z" }), /* @__PURE__ */ React.createElement("path", { fill: "#2853c3", d: "M37.1 0 24.73 7.14l12.37 7.14V0z" }), /* @__PURE__ */ React.createElement("path", { fill: "#1a4199", d: "M37.1 0 49 6.86a1 1 0 0 1 .48.83v28L37.1 28.56V0Z" }), /* @__PURE__ */ React.createElement("path", { fill: "#2853c3", d: "m49.47 35.7-11.89 6.86a1 1 0 0 1-1 0l-24.25-14v-14.3Z" }), /* @__PURE__ */ React.createElement("path", { fill: "#60beff", d: "M0 7.14v28a1 1 0 0 0 .48.86l11.89 6.86v-28.6Z" }), /* @__PURE__ */ React.createElement("path", { fill: "#3ca9e5", d: "m12.37 42.84 12.36-7.14-12.36-7.14v14.28z" })); var nexo_default = Nexo; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=nexo.js.map