@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
64 lines (63 loc) • 2.37 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/the-sandbox.tsx
var the_sandbox_exports = {};
__export(the_sandbox_exports, {
default: () => the_sandbox_default
});
module.exports = __toCommonJS(the_sandbox_exports);
var React = __toESM(require("react"));
var TheSandbox = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
viewBox: "0 0 50 50",
...props
}, /* @__PURE__ */ React.createElement("linearGradient", {
id: "a",
x1: 25.214,
x2: 25.837,
y1: 1024.822,
y2: 1024.119,
gradientTransform: "matrix(50 0 0 -50 -1250 51250)",
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#00adef"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#0084ff"
})), /* @__PURE__ */ React.createElement("circle", {
cx: 25,
cy: 25,
r: 25,
fill: "url(#a)"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "m16.6 11.8-2.7 2.7v10.7l2.7 2.7h10.7v5.4H22v-2.7h-8.1V36l2.7 2.7h16.1l2.7-2.7V25.2l-2.7-2.7H22v-5.4h5.4v2.7h8.1v-5.4l-2.7-2.7H16.6z"
}));
var the_sandbox_default = TheSandbox;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=the-sandbox.js.map