UNPKG

@web3sdks/chain-icons

Version:

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

58 lines (57 loc) 2.23 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/nimiq.tsx var nimiq_exports = {}; __export(nimiq_exports, { default: () => nimiq_default }); module.exports = __toCommonJS(nimiq_exports); var React = __toESM(require("react")); var Nimiq = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 64 56", ...props }, /* @__PURE__ */ React.createElement("radialGradient", { id: "a", cx: 46.003, cy: 6.38, r: 59.47, gradientTransform: "matrix(1 0 0 -1 0 58)", gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { offset: 0, stopColor: "#ec991c" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#e9b213" })), /* @__PURE__ */ React.createElement("path", { fill: "url(#a)", d: "M63.3 25.4 50 2.6C49 1 47.2 0 45.3 0H18.7c-1.9 0-3.7 1-4.6 2.6L.7 25.4c-1 1.6-1 3.6 0 5.3L14 53.4c1 1.6 2.7 2.6 4.6 2.6h26.7c1.9 0 3.7-1 4.7-2.6l13.3-22.8c.9-1.6.9-3.6 0-5.2z" })); var nimiq_default = Nimiq; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=nimiq.js.map