@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
43 lines (42 loc) • 2.19 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/monolith.tsx
var monolith_exports = {};
__export(monolith_exports, {
default: () => monolith_default
});
module.exports = __toCommonJS(monolith_exports);
var React = __toESM(require("react"));
var Monolith = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 153 364",
...props
}, /* @__PURE__ */ React.createElement("path", {
d: "m21 52.2 74.8 42.9c3.1 1.7 5 5 5 8.6v141.8c0 .4-.2.9-.6 1.1l-81.1 46c-.6.3-1.3.1-1.7-.5-.1-.2-.2-.4-.2-.6l.1-237.1c0-1.3 1.1-2.4 2.4-2.4.5-.1.9 0 1.3.2zM17.4 43c-1.8-1-4-.4-5 1.4-.3.6-.5 1.2-.5 1.8l-.4 248.4c0 1.8.9 3.4 2.5 4.3l86.8 49.8c1.8 1 4 .4 5-1.4.3-.6.5-1.2.5-1.8V101.1c0-4.4-2.4-8.5-6.2-10.7L17.4 43zm136.3 27.3v262.3c0 4.4-2.4 8.5-6.2 10.7l-34.7 19.8c-3.8 2.2-8.5 2.2-12.3 0L6.2 308.6C2.4 306.4 0 302.4 0 298V29.1c0-4.5 2.5-8.7 6.5-10.8L37.6 1.5c3.8-2 8.4-2 12.1.2l97.9 58c3.8 2.2 6.1 6.2 6.1 10.6z"
}));
var monolith_default = Monolith;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=monolith.js.map