@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
78 lines (77 loc) • 2.74 kB
JavaScript
"use strict";
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/theta.tsx
var theta_exports = {};
__export(theta_exports, {
default: () => theta_default
});
module.exports = __toCommonJS(theta_exports);
var React = __toESM(require("react"));
var Theta = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
"data-name": "Layer 1",
viewBox: "0 0 433 433",
...props
}, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("linearGradient", {
id: "a",
x1: 112.27,
x2: 320.73,
y1: 112.27,
y2: 320.73,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#2ab8e6"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 0.53,
stopColor: "#29cad2"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#2ee4be"
})), /* @__PURE__ */ React.createElement("linearGradient", {
xlinkHref: "#a",
id: "b",
x1: 175.55,
x2: 258.18,
y1: 175.91,
y2: 258.54
})), /* @__PURE__ */ React.createElement("path", {
fill: "#1b1f2b",
d: "M0 0h433v433H0z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#1b1f2b",
stroke: "url(#a)",
strokeLinejoin: "bevel",
strokeWidth: 27.222,
d: "M145.06 93.1h142.89v246.81H145.06z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "url(#b)",
d: "M259.8 255.47h-29.59v31h-26.7v-31h-29.59v-26.7h85.88zm0-76.5h-29.59v-31h-26.7v31h-29.59v26.7h85.88z"
}));
var theta_default = Theta;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=theta.js.map