@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
56 lines (55 loc) • 2.21 kB
JavaScript
;
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/band-protocol.tsx
var band_protocol_exports = {};
__export(band_protocol_exports, {
default: () => band_protocol_default
});
module.exports = __toCommonJS(band_protocol_exports);
var React = __toESM(require("react"));
var BandProtocol = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "Layer_1",
x: 0,
y: 0,
viewBox: "0 0 32 32",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st1{fill:#fff}"), /* @__PURE__ */ React.createElement("circle", {
cx: 16,
cy: 16,
r: 16,
fill: "#516aff"
}), /* @__PURE__ */ React.createElement("path", {
d: "m18.8 11.6 2.8 1.6v-8L16 2.4 7.3 7.3v17.4l8.7 5 8.6-5.1V16l-8.3-5-2.8 1.4 8.3 4.9.1 5.9-5.9 3.3-6-3.4V8.7l6-3.3 2.8 1.5v4.7z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
d: "m15.7 16.4 1.9-1 2.1 1.3-6.2 3.5V13l2.2 1.3",
className: "st1"
}));
var band_protocol_default = BandProtocol;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=band-protocol.js.map