UNPKG

@web3sdks/chain-icons

Version:

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

49 lines (48 loc) 1.96 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/pundi-x.tsx var pundi_x_exports = {}; __export(pundi_x_exports, { default: () => pundi_x_default }); module.exports = __toCommonJS(pundi_x_exports); var React = __toESM(require("react")); var PundiX = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2500 2500", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 1250, cy: 1250, r: 1250, fill: "#181818" }), /* @__PURE__ */ React.createElement("path", { fill: "#f6d30c", d: "m1307 1100 497-498 101 102-497 497zm-713 712 498-498 101 102-497 497zm713-396 101-102 498 498-102 101zM594 704l102-102 497 497-101 102zm554 553 102-102 102 102-102 102z" })); var pundi_x_default = PundiX; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=pundi-x.js.map