@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
73 lines (72 loc) • 2.67 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/xdai.tsx
var xdai_exports = {};
__export(xdai_exports, {
default: () => xdai_default
});
module.exports = __toCommonJS(xdai_exports);
var React = __toESM(require("react"));
var Xdai = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "Layer_1",
x: 0,
y: 0,
viewBox: "0 0 256 255",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st1{fill-rule:evenodd;clip-rule:evenodd;fill:#fff}"), /* @__PURE__ */ React.createElement("g", {
id: "Page-1"
}, /* @__PURE__ */ React.createElement("g", {
id: "Artboard"
}, /* @__PURE__ */ React.createElement("g", {
id: "Group-6"
}, /* @__PURE__ */ React.createElement("path", {
id: "Fill-1",
fill: "#48a9a6",
fillRule: "evenodd",
d: "M128 0c70.6 0 128 57.3 128 127.9s-57.4 127.9-128 127.9S0 198.5 0 127.9 57.4 0 128 0z",
clipRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
id: "Fill-2",
d: "M62.3 88.6h52.6V62.3H62.3z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
id: "Fill-3",
d: "M141.1 88.6h52.6V62.3h-52.6z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
id: "Fill-4",
d: "M193.7 141.1h-26.3v26.3h-26.3v26.3h52.6z",
className: "st1"
}), /* @__PURE__ */ React.createElement("path", {
id: "Fill-5",
d: "M114.9 193.7v-26.3H88.6v-26.3H62.3v52.6z",
className: "st1"
})))));
var xdai_default = Xdai;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=xdai.js.map