@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
63 lines (62 loc) • 2.63 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/icon.tsx
var icon_exports = {};
__export(icon_exports, {
default: () => icon_default
});
module.exports = __toCommonJS(icon_exports);
var React = __toESM(require("react"));
var Icon = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 29 29",
...props
}, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("style", null, ".a5128287-1b2f-4aa7-bf83-e3d0a2d719c7{fill:#18a0b1}")), /* @__PURE__ */ React.createElement("g", {
id: "aa8d72f3-e91d-4668-864f-f6ccd32ab5ee",
"data-name": "Calque 2"
}, /* @__PURE__ */ React.createElement("g", {
id: "f48437ee-df2e-4d1f-8155-a51b945f34ec",
"data-name": "Line"
}, /* @__PURE__ */ React.createElement("g", {
id: "fb56a67f-1a1b-4fcb-afaf-5bdfb7c20b92",
"data-name": "icon"
}, /* @__PURE__ */ React.createElement("circle", {
cx: 26.5,
cy: 2.5,
r: 2.5,
className: "a5128287-1b2f-4aa7-bf83-e3d0a2d719c7"
}), /* @__PURE__ */ React.createElement("path", {
d: "M7.28 18.79A8.37 8.37 0 0 1 18.74 7.33l2-2-.1-.08A11.14 11.14 0 0 0 5.28 20.79Zm14.44-8.47a8.37 8.37 0 0 1-11.46 11.46l-2 2A11.13 11.13 0 0 0 23.72 8.32Z",
className: "a5128287-1b2f-4aa7-bf83-e3d0a2d719c7"
}), /* @__PURE__ */ React.createElement("circle", {
cx: 2.5,
cy: 26.5,
r: 2.5,
className: "a5128287-1b2f-4aa7-bf83-e3d0a2d719c7"
})))));
var icon_default = Icon;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=icon.js.map