UNPKG

@web3sdks/chain-icons

Version:

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

47 lines (46 loc) 2.05 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/ramp.tsx var ramp_exports = {}; __export(ramp_exports, { default: () => ramp_default }); module.exports = __toCommonJS(ramp_exports); var React = __toESM(require("react")); var Ramp = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 273 317", ...props }, /* @__PURE__ */ React.createElement("path", { fill: "#00b5d1", d: "m178 183.1-42 24.5-42-24.5V134l42-24.6 42 24.6z" }), /* @__PURE__ */ React.createElement("path", { fill: "#0d285a", d: "M136.5 0 0 79.3v158.4L136.5 317 273 237.7V79.3L136.5 0zM70 196.9v-77.2l66-38.5 66 38.5v77.2l-66 38.5-66-38.5zm0 44.5v-26.8l89.3 52.2-22.8 13.3L70 241.4zm171-22.1L174.5 258l-23.6-13.8 66.2-38.7v-94.4l-81-47.3-81 47.3v121.6l-23-13.4V97.7L136.6 37 241 97.7v121.6z" })); var ramp_default = Ramp; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=ramp.js.map