@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
45 lines (44 loc) • 1.99 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/haven-protocol.tsx
var haven_protocol_exports = {};
__export(haven_protocol_exports, {
default: () => haven_protocol_default
});
module.exports = __toCommonJS(haven_protocol_exports);
var React = __toESM(require("react"));
var HavenProtocol = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 240 288",
...props
}, /* @__PURE__ */ React.createElement("path", {
fillRule: "evenodd",
d: "M168 92.6 24 175.7V264h48v-67.9l144-83.2V24h-48v68.6zm-23.9-13.8L144 0h96v126.7L95.7 209.9l.3.2V288H0V162l144.1-83.2zM0 134.2V0h96v78.8L72 92.6V24H24v96.3L0 134.2zm144 75.9 24-14.1v68h48v-96l24-13.9V288h-96v-77.9z",
clipRule: "evenodd"
}));
var haven_protocol_default = HavenProtocol;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=haven-protocol.js.map