UNPKG

@web3sdks/chain-icons

Version:

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

67 lines (66 loc) 3.11 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/mxc.tsx var mxc_exports = {}; __export(mxc_exports, { default: () => mxc_default }); module.exports = __toCommonJS(mxc_exports); var React = __toESM(require("react")); var Mxc = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 138 138", ...props }, /* @__PURE__ */ React.createElement("linearGradient", { id: "a", x1: 53.77, x2: 84.784, y1: 124.758, y2: 10.988, gradientTransform: "matrix(1 0 0 -1 0 137.89)", gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { offset: 0, stopColor: "#0f51fb" }), /* @__PURE__ */ React.createElement("stop", { offset: 0.445, stopColor: "#6324fb" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#ef3678" })), /* @__PURE__ */ React.createElement("circle", { cx: 69, cy: 69, r: 69, fill: "url(#a)" }), /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "M88.2 52.5c0-.5.2-1.1.7-1.7.7-.8 1.5-.9 2-1h8.3c1 0 1.8-.8 1.8-1.8v-9.2c0-1-.8-1.8-1.8-1.8H90c-1 0-1.8.8-1.8 1.8V47c0 .5-.2 1.2-.8 1.9-.5.6-1.2.8-1.7.9h-8.5c-1 0-1.8.8-1.8 1.8v8.2c0 .5-.2 1.2-.8 1.9-.5.6-1.2.8-1.7.9h-7.8c-.5-.1-1.2-.3-1.7-.9-.5-.5-.7-1.1-.8-1.6v-8.5c0-1-.8-1.8-1.8-1.8h-8.5c-.5-.1-1.2-.3-1.7-.9-.5-.5-.7-1.1-.8-1.6v-8.5c0-1-.8-1.8-1.8-1.8h-9.2c-1 0-1.8.8-1.8 1.8V48c0 1 .8 1.8 1.8 1.8H47c.5 0 1.4.2 2 1 .8.9.7 2.1.7 2.3v6.8c0 .5-.2 1.2-.8 1.9-.5.6-1.2.8-1.7.9h-8.5c-1 0-1.8.8-1.8 1.8v34.8c0 1 .8 1.8 1.8 1.8H48c1 0 1.8-.8 1.8-1.8v-34c0-.5.2-1.1.7-1.7.7-.8 1.5-.9 2-1h7.2c.5 0 1.4.2 2 1 .8.9.7 2.1.7 2.3v7.8c0 1 .8 1.8 1.8 1.8h9.2c1 0 1.8-.8 1.8-1.8v-8.4c0-.5.2-1.1.7-1.7.7-.8 1.5-.9 2-1h7.2c.5 0 1.4.2 2 1 .8.9.7 2.1.7 2.3v33.4c0 1 .8 1.8 1.8 1.8h9.2c1 0 1.8-.8 1.8-1.8V64.4c0-1-.8-1.8-1.8-1.8h-8.5c-.5-.1-1.2-.3-1.7-.9-.5-.5-.7-1.1-.8-1.6l.4-7.6z" })); var mxc_default = Mxc; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=mxc.js.map