@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
67 lines (66 loc) • 2.59 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/ethereum.tsx
var ethereum_exports = {};
__export(ethereum_exports, {
default: () => ethereum_default
});
module.exports = __toCommonJS(ethereum_exports);
var React = __toESM(require("react"));
var Ethereum = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
fillRule: "evenodd",
clipRule: "evenodd",
imageRendering: "optimizeQuality",
shapeRendering: "geometricPrecision",
textRendering: "geometricPrecision",
viewBox: "0 0 784 1277",
...props
}, /* @__PURE__ */ React.createElement("g", {
fillRule: "nonzero"
}, /* @__PURE__ */ React.createElement("path", {
fill: "#343434",
d: "m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#8C8C8C",
d: "M392.07 0 0 650.54l392.07 231.75V472.33z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#3C3C3B",
d: "m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#8C8C8C",
d: "M392.07 1277.38V956.52L0 724.89z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#141414",
d: "m392.07 882.29 392.06-231.75-392.06-178.21z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#393939",
d: "m0 650.54 392.07 231.75V472.33z"
})));
var ethereum_default = Ethereum;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=ethereum.js.map