UNPKG

@web3sdks/chain-icons

Version:

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

44 lines (43 loc) 3.17 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/diamond.tsx var diamond_exports = {}; __export(diamond_exports, { default: () => diamond_default }); module.exports = __toCommonJS(diamond_exports); var React = __toESM(require("react")); var Diamond = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2000 2000", ...props }, /* @__PURE__ */ React.createElement("path", { fill: "#3e6492", d: "M384.8 753.5 15.3 824.9C5.1 882.7 0 941.3 0 1000c0 62.5 5.8 123.7 16.7 183l368.1 64.3V753.5zm615.2 164 231.1-458.3H768.9L1000 917.5zM459.1 768.9v462.3L917.5 1000 459.1 768.9zm1056.3-70.4-213.9-213.9-217.6 431.5 431.5-217.6zm-873-262.9L297.6 297.7 435 643l207.4-207.4zm1059.9-138L1357 435l207.4 207.4 137.9-344.8zm-161.5 933.6V768.9L1082.5 1000l458.3 231.2zm161.6 471.1L1565 1357l-207.4 207.4 344.8 137.9zM1319.3 370l329.4-131c-112.7-96.1-247-167.7-394.6-206.4l65.2 337.4zm680.7 630c0-62.5-5.8-123.7-16.7-183l-368.1-64.3v493.7l369.5-71.4c10.2-57.7 15.3-116.3 15.3-175zm-370.5-320.2 335.9 58.7c-39.1-144.8-109.9-276.5-204.5-387.3l-131.4 328.6zM642.9 1565l-207.4-207.4-137.8 344.7L642.9 1565zm987.1-245.7 131 329.4c96.1-112.7 167.7-247 206.4-394.6l-337.4 65.2zm18.8 441.6-328.6-131.4-58.7 335.9c144.8-39.1 276.5-109.9 387.3-204.5zm-133.4-459.4L1083.9 1084l217.6 431.5 213.9-214zM752.7 384.8h493.7L1175 15.3C1117.3 5.1 1058.7 0 1000 0c-62.5 0-123.7 5.8-183 16.8l-64.3 368zm494.6 1230.4H753.5l71.4 369.5c57.8 10.2 116.4 15.3 175.1 15.3 62.5 0 123.6-5.8 183-16.7l64.3-368.1zM1000 1082.5l-231.1 458.3h462.3L1000 1082.5zM351.2 239.1l328.6 131.4 58.7-335.9C593.7 73.8 462 144.5 351.2 239.1zm133.4 459.4L916 916.1 698.5 484.6 484.6 698.5zM370 680.7 239 351.3C142.8 464 71.3 598.3 32.6 745.9L370 680.7zm114.6 620.9 213.9 213.9L916 1084l-431.4 217.6zM680.7 1630l-329.4 131c112.7 96.1 247 167.7 394.6 206.4L680.7 1630zm-310.2-309.8-335.9-58.7c39.1 144.7 109.9 276.5 204.5 387.3l131.4-328.6z" })); var diamond_default = Diamond; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=diamond.js.map