@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
44 lines (43 loc) • 1.92 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/xmax.tsx
var xmax_exports = {};
__export(xmax_exports, {
default: () => xmax_default
});
module.exports = __toCommonJS(xmax_exports);
var React = __toESM(require("react"));
var Xmax = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 30 32",
...props
}, /* @__PURE__ */ React.createElement("path", {
fill: "#f03",
d: "M15 19.64h.05l15.17-7.4v2.14L18 20.33l12.2 3v2l-14.89-3.68L.06 29.09V27Zm0-8.28 15.22-7.42v2.14L0 20.81v-2.14l12.28-6L0 9.68v-2ZM0 0l15.18 3.7v2L0 2Zm0 5.84v-2l15.2 3.72v2Zm0 17L30.22 8.09v2.14L0 24.94Zm30.2 6.31L15 25.43v-2l15.18 3.71Zm-15.2.11v-2L30.22 31v2Z"
}));
var xmax_default = Xmax;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=xmax.js.map