@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
74 lines (73 loc) • 2.72 kB
JavaScript
"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/flow.tsx
var flow_exports = {};
__export(flow_exports, {
default: () => flow_default
});
module.exports = __toCommonJS(flow_exports);
var React = __toESM(require("react"));
var Flow = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "svg32",
x: 0,
y: 0,
viewBox: "0 0 256 256",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st1{fill:#fff}"), /* @__PURE__ */ React.createElement("g", {
id: "Layer_2_1_"
}, /* @__PURE__ */ React.createElement("g", {
id: "Layer_1-2"
}, /* @__PURE__ */ React.createElement("g", {
id: "g43",
transform: "scale(2.56)"
}, /* @__PURE__ */ React.createElement("circle", {
id: "circle20",
cx: 50,
cy: 50,
r: 50,
fill: "#00ef8b"
}), /* @__PURE__ */ React.createElement("path", {
id: "rect22",
d: "M57.8 42.2h14.1v14.1H57.8z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
id: "path24",
d: "M43.7 61.6c0 2.9-2.4 5.3-5.3 5.3s-5.3-2.4-5.3-5.3 2.4-5.3 5.3-5.3h5.3V42.2h-5.3C27.7 42.2 19 50.9 19 61.6S27.7 81 38.4 81s19.4-8.7 19.4-19.4v-5.3H43.7v5.3z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
id: "path26",
d: "M63.1 35.1H79V21H63.1c-10.7 0-19.4 8.7-19.4 19.4v1.8h14.1v-1.8c0-2.9 2.4-5.3 5.3-5.3z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
id: "polygon28",
fill: "#16ff99",
d: "M57.8 42.2H43.7v14.1h14.1z"
})))));
var flow_default = Flow;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=flow.js.map