UNPKG

@web3sdks/chain-icons

Version:

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

61 lines (60 loc) 2.36 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/arpa-chain.tsx var arpa_chain_exports = {}; __export(arpa_chain_exports, { default: () => arpa_chain_default }); module.exports = __toCommonJS(arpa_chain_exports); var React = __toESM(require("react")); var ArpaChain = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1000 1000", ...props }, /* @__PURE__ */ React.createElement("path", { fill: "#263145", 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: "#ccd9e2", fillRule: "evenodd", d: "M530.7 177h-69.9L172 680h514.8L650 620H276z", clipRule: "evenodd" }), /* @__PURE__ */ React.createElement("path", { fill: "#aaa", fillRule: "evenodd", d: "m785.3 739 35.7-60.5L529.7 177 275 620h70l185.7-323.5z", clipRule: "evenodd" }), /* @__PURE__ */ React.createElement("path", { fill: "#5a5967", fillRule: "evenodd", d: "m172 680 35.7 59h577.6L530.7 295.1l-35.2 62L684.4 680z", clipRule: "evenodd" })); var arpa_chain_default = ArpaChain; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=arpa-chain.js.map