UNPKG

@web3sdkio/chain-icons

Version:

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

115 lines (114 loc) 4.22 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/iotex.tsx var iotex_exports = {}; __export(iotex_exports, { default: () => iotex_default }); module.exports = __toCommonJS(iotex_exports); var React = __toESM(require("react")); var Iotex = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", ...props }, /* @__PURE__ */ React.createElement("g", { fill: "none" }, /* @__PURE__ */ React.createElement("circle", { cx: 16, cy: 16, r: 16, fill: "#00D4D5" }), /* @__PURE__ */ React.createElement("g", { fill: "#FFF" }, /* @__PURE__ */ React.createElement("path", { d: "M16.519 5v5.457l4.738-2.725z" }), /* @__PURE__ */ React.createElement("path", { d: "M21.257 7.732v5.457l4.737-2.732z", opacity: 0.9 }), /* @__PURE__ */ React.createElement("path", { d: "M16.519 10.457v5.457l4.738-2.725zm4.738 2.733v5.456l4.737-2.732z", opacity: 0.8 }), /* @__PURE__ */ React.createElement("path", { d: "M16.519 15.914v5.457l4.738-2.725z", opacity: 0.8 }), /* @__PURE__ */ React.createElement("path", { d: "M21.257 18.646v5.457l4.737-2.732z" }), /* @__PURE__ */ React.createElement("path", { d: "M4.273 10.273v5.457l4.738-2.732z", opacity: 0.4 }), /* @__PURE__ */ React.createElement("path", { d: "M10.25 12.302v5.457l4.73-2.725z", opacity: 0.2 }), /* @__PURE__ */ React.createElement("path", { d: "M6.738 15.753v5.457l4.737-2.732z", opacity: 0.3 }), /* @__PURE__ */ React.createElement("path", { d: "M9.86 19.871v5.457l4.73-2.732z", opacity: 0.9 }), /* @__PURE__ */ React.createElement("path", { d: "M16.48 22.22v5.458l4.73-2.733z", opacity: 0.7 }), /* @__PURE__ */ React.createElement("path", { d: "M11.039 9.607v5.458l4.73-2.725z", opacity: 0.9 }), /* @__PURE__ */ React.createElement("path", { d: "M16.519 5v5.457l-4.738-2.725z", opacity: 0.8 }), /* @__PURE__ */ React.createElement("path", { d: "M11.039 7.32v5.456L6.3 10.044z", opacity: 0.6 }), /* @__PURE__ */ React.createElement("path", { d: "M15.777 10.02v5.458l-4.738-2.733z", opacity: 0.6 }), /* @__PURE__ */ React.createElement("path", { d: "M10.228 12.302v5.457L5.49 15.034z", opacity: 0.95 }), /* @__PURE__ */ React.createElement("path", { d: "M16.519 15.914v5.457l-4.73-2.725z", opacity: 0.6 }), /* @__PURE__ */ React.createElement("path", { d: "M6.738 17.185v5.457L2 19.909z", opacity: 0.55 }), /* @__PURE__ */ React.createElement("path", { d: "M25.994 10.457v5.457l-4.737-2.725z" }), /* @__PURE__ */ React.createElement("path", { d: "M21.257 13.19v5.456l-4.738-2.732z", opacity: 0.95 }), /* @__PURE__ */ React.createElement("path", { d: "M25.994 15.914v5.457l-4.737-2.725z", opacity: 0.9 }), /* @__PURE__ */ React.createElement("path", { d: "M21.257 18.646v5.457l-4.738-2.732z", opacity: 0.7 }), /* @__PURE__ */ React.createElement("path", { d: "M15.47 20.92v5.457l-4.737-2.725z", opacity: 0.4 }), /* @__PURE__ */ React.createElement("path", { d: "M21.257 7.732v5.457l-4.738-2.732z" })))); var iotex_default = Iotex; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=iotex.js.map