@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
55 lines (54 loc) • 3.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/chainx.tsx
var chainx_exports = {};
__export(chainx_exports, {
default: () => chainx_default
});
module.exports = __toCommonJS(chainx_exports);
var React = __toESM(require("react"));
var Chainx = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "Layer_1",
x: 0,
y: 0,
viewBox: "0 0 100 100",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st0{fill:#172026}"), /* @__PURE__ */ React.createElement("g", {
id: "Layer_2_1_"
}, /* @__PURE__ */ React.createElement("g", {
id: "Layer_1-2"
}, /* @__PURE__ */ React.createElement("path", {
d: "M50 45.7c-1 .3-2 .9-2.8 1.6-.7.7-1.2 1.7-1.5 2.7.3 1 .9 2 1.6 2.8.8.7 1.7 1.3 2.7 1.6 1-.3 2-.9 2.8-1.6.7-.7 1.3-1.7 1.6-2.7-.3-1-.9-2-1.6-2.8-.8-.8-1.7-1.3-2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 4.3 2.5 6.8z",
className: "st0"
}))));
var chainx_default = Chainx;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=chainx.js.map