@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
51 lines (50 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/idex.tsx
var idex_exports = {};
__export(idex_exports, {
default: () => idex_default
});
module.exports = __toCommonJS(idex_exports);
var React = __toESM(require("react"));
var Idex = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 331 331",
...props
}, /* @__PURE__ */ React.createElement("path", {
fill: "#662bc9",
fillRule: "evenodd",
d: "M0 0h331v331H0V0z",
clipRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
fillRule: "evenodd",
d: "m74 230.9 3.2 4.1 17.1 22h142.4l20.3-26.1-50.8-65.4 47.7-61.3 3.2-4.1L236.7 74H94.3l-3.2 4.2-17.1 22 50.8 65.4L74 230.9zm61.3-13.1c-4.3 0-6.7-4.9-4-8.3l13.9-17.9 20.3 26.1h-30.2v.1zm67.6-56.5 44.4-57.1H165c-2.7 0-4.2 3.1-2.5 5.2l3 3.8h30.2c4.3 0 6.7 4.9 4 8.3l-13.9 17.9 17.1 21.9zM80.5 100.1l100.1 128.7.7.9c1.6 2.1.1 5.2-2.5 5.2H83.7l14 18H227L94.3 82.3l-13.8 17.8z",
clipRule: "evenodd"
}));
var idex_default = Idex;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=idex.js.map