UNPKG

@web3sdkio/chain-icons

Version:

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

106 lines (105 loc) 3.58 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/decentraland.tsx var decentraland_exports = {}; __export(decentraland_exports, { default: () => decentraland_default }); module.exports = __toCommonJS(decentraland_exports); var React = __toESM(require("react")); var Decentraland = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 400 400", ...props }, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("linearGradient", { id: "a", x1: "85.355%", x2: "14.645%", y1: "14.645%", y2: "85.355%" }, /* @__PURE__ */ React.createElement("stop", { offset: "0%", stopColor: "#FF2D55" }), /* @__PURE__ */ React.createElement("stop", { offset: "100%", stopColor: "#FFBC5B" })), /* @__PURE__ */ React.createElement("linearGradient", { id: "b", x1: "49.966%", x2: "49.966%", y1: "0%", y2: "100%" }, /* @__PURE__ */ React.createElement("stop", { offset: "0%", stopColor: "#A524B3" }), /* @__PURE__ */ React.createElement("stop", { offset: "100%", stopColor: "#FF2D55" }))), /* @__PURE__ */ React.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ React.createElement("circle", { cx: 200, cy: 200, r: 200, fill: "url(#a)" }), /* @__PURE__ */ React.createElement("path", { fill: "url(#b)", d: "M125.7 0v150h125z", transform: "translate(16 130)" }), /* @__PURE__ */ React.createElement("path", { fill: "#FFF", d: "M16.7 280h125V130z" }), /* @__PURE__ */ React.createElement("path", { fill: "#FC9965", d: "M40 320c11.4 15.1 24.9 28.6 40 40h240c15.1-11.4 28.6-24.9 40-40H40z" }), /* @__PURE__ */ React.createElement("path", { fill: "#FF2D55", d: "M80 360c33.4 25.1 75 40 120 40s86.6-14.9 120-40H80z" }), /* @__PURE__ */ React.createElement("path", { fill: "url(#b)", d: "M252.3 0v110H344z", transform: "translate(16 210)" }), /* @__PURE__ */ React.createElement("path", { fill: "#FFBC5B", d: "M268.3 280H16.7c6.2 14.3 14.1 27.7 23.3 40h228.4v-40h-.1z" }), /* @__PURE__ */ React.createElement("path", { fill: "#FFF", d: "M176.7 320h91.6V210z" }), /* @__PURE__ */ React.createElement("circle", { cx: 268.3, cy: 130, r: 50, fill: "#FFC95B" }), /* @__PURE__ */ React.createElement("circle", { cx: 141.7, cy: 75, r: 25, fill: "#FFC95B" }))); var decentraland_default = Decentraland; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=decentraland.js.map