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.08 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/barnbridge.tsx var barnbridge_exports = {}; __export(barnbridge_exports, { default: () => barnbridge_default }); module.exports = __toCommonJS(barnbridge_exports); var React = __toESM(require("react")); var Barnbridge = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", id: "Layer_1", x: 0, y: 0, viewBox: "0 0 28 27", ...props }, /* @__PURE__ */ React.createElement("style", null, ".st0{fill:#ff4339}"), /* @__PURE__ */ React.createElement("path", { d: "M14.2 12.3h-.1c-1.8 0-3.3 1.5-3.3 3.4v3.7l3.3-2.5 3.3 2.5v-3.7c.1-1.9-1.4-3.4-3.2-3.4z", className: "st0" }), /* @__PURE__ */ React.createElement("path", { d: "M0 0v27.4l8.5-6.3v-7.2L7 12.6l7.2-5.5 7.2 5.5-1.6 1.2V21l8.5 6.3V0H0z", className: "st0" })); var barnbridge_default = Barnbridge; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=barnbridge.js.map