UNPKG

@web3sdks/chain-icons

Version:

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

48 lines (47 loc) 2.24 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/nest-protocol.tsx var nest_protocol_exports = {}; __export(nest_protocol_exports, { default: () => nest_protocol_default }); module.exports = __toCommonJS(nest_protocol_exports); var React = __toESM(require("react")); var NestProtocol = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1000 1000", ...props }, /* @__PURE__ */ React.createElement("path", { fillRule: "evenodd", d: "M500 0c276.1 0 500 223.9 500 500s-223.9 500-500 500S0 776.1 0 500 223.9 0 500 0z", clipRule: "evenodd" }), /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "M714.5 432.3C737.3 324.1 687 269 592.1 269c-57 0-104.4 20.9-147.2 59.8l9.5-43.7s-15.2-6.6-45.6-6.6c-33.2 0-49.4 6.6-49.4 6.6L268 714.4s13.3 6.6 46.5 6.6c30.4 0 48.4-6.6 48.4-6.6l65.8-307.7c33.2-38 78.8-60.8 120.6-60.8 60.8 0 81.6 30.4 70.3 83.6l-61.1 284.9s14.2 6.6 46.5 6.6c31.3 0 48.4-6.6 48.4-6.6l61.1-282.1z" })); var nest_protocol_default = NestProtocol; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=nest-protocol.js.map