UNPKG

@web3sdks/chain-icons

Version:

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

51 lines (50 loc) 2.46 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/arweave.tsx var arweave_exports = {}; __export(arweave_exports, { default: () => arweave_default }); module.exports = __toCommonJS(arweave_exports); var React = __toESM(require("react")); var Arweave = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 31 31", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 15.9, cy: 15.9, r: 14.7, fill: "none", stroke: "#222326", strokeWidth: 2.5 }), /* @__PURE__ */ React.createElement("path", { fill: "#222326", d: "M18.7 21.2c-.1-.1-.1-.3-.2-.5 0-.2-.1-.4-.1-.6-.2.2-.4.3-.6.5-.2.2-.5.3-.7.4-.3.1-.5.2-.9.3-.3.1-.7.1-1 .1-.6 0-1.1-.1-1.6-.3-.5-.2-.9-.4-1.3-.7-.4-.3-.6-.7-.8-1.1-.2-.4-.3-.9-.3-1.4 0-1.2.5-2.2 1.4-2.8.9-.7 2.3-1 4.1-1h1.7v-.7c0-.6-.2-1-.5-1.3-.4-.3-.9-.5-1.6-.5-.6 0-1 .1-1.3.4-.3.3-.4.6-.4 1h-3c0-.5.1-1 .3-1.4.2-.4.5-.8 1-1.2.4-.3.9-.6 1.5-.8.6-.2 1.3-.3 2.1-.3.7 0 1.3.1 1.9.3.6.2 1.1.4 1.6.8.4.3.8.8 1 1.3.2.5.4 1.1.4 1.8v5c0 .6 0 1.1.1 1.5.1.4.2.8.3 1v.2h-3.1zm-2.9-2.1c.3 0 .6 0 .8-.1.3-.1.5-.2.7-.3.2-.1.4-.2.5-.4l.4-.4v-2h-1.5c-.5 0-.9 0-1.2.1-.3.1-.6.2-.8.4-.2.2-.4.3-.5.6-.1.2-.1.5-.1.7 0 .4.1.7.4 1 .3.3.8.4 1.3.4z" })); var arweave_default = Arweave; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=arweave.js.map