@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
54 lines (53 loc) • 2.02 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/torex.tsx
var torex_exports = {};
__export(torex_exports, {
default: () => torex_default
});
module.exports = __toCommonJS(torex_exports);
var React = __toESM(require("react"));
var Torex = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 67 67",
...props
}, /* @__PURE__ */ React.createElement("rect", {
width: 67.37,
height: 67.25,
rx: 20
}), /* @__PURE__ */ React.createElement("rect", {
width: 67.37,
height: 67.25,
fill: "#2cc981",
rx: 20
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
fillRule: "evenodd",
d: "m45.73 10.43 10.84 11.21h-22Zm-23 22.86L11.14 21.74l11.24-11.21 34.26 34.34-11.35 11.19-11.21-11.19-11.29 11.27-11.37-11.35Z"
}));
var torex_default = Torex;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=torex.js.map