UNPKG

@web3sdks/chain-icons

Version:

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

52 lines (51 loc) 2.29 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/augur.tsx var augur_exports = {}; __export(augur_exports, { default: () => augur_default }); module.exports = __toCommonJS(augur_exports); var React = __toESM(require("react")); var Augur = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 96 96", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 48, cy: 48, r: 48, fill: "#0e0e21" }), /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "m74.8 59.2-5.7-9.7c-.2-.4-.7-.5-1-.2l-3.7 2.4c-.3.2-.4.7-.2 1l3.3 5.5c.1.2 0 .4-.1.5L48.2 71.1c-.1.1-.3.1-.4 0l-19-12.4c-.2-.1-.2-.3-.1-.5l3.3-5.5c.2-.3.1-.8-.2-1l-3.7-2.4c-.4-.2-.8-.1-1 .2l-5.7 9.7c-.4.7-.2 1.6.5 2l25.5 16.6c.5.3 1.1.3 1.6 0l25.5-16.6c.5-.5.7-1.4.3-2z" }), /* @__PURE__ */ React.createElement("path", { fill: "#2ae7a8", d: "m30.9 44.1 3.7 2.4c.4.2.8.1 1-.2l12-20.4c.1-.2.5-.2.6 0l12 20.4c.2.4.7.5 1 .2l3.7-2.4c.3-.2.4-.7.2-1L51 18.7c-.3-.5-.7-.7-1.3-.7h-3.4c-.5 0-1 .3-1.3.7L30.7 43.1c-.2.3-.1.8.2 1z" })); var augur_default = Augur; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=augur.js.map