@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
114 lines (113 loc) • 4.16 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/aurora.tsx
var aurora_exports = {};
__export(aurora_exports, {
default: () => aurora_default
});
module.exports = __toCommonJS(aurora_exports);
var React = __toESM(require("react"));
var Aurora = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 236 226",
...props
}, /* @__PURE__ */ React.createElement("linearGradient", {
id: "a",
x1: 120.283,
x2: 229.325,
y1: 114.105,
y2: 114.105,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#3b8270"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#305c6e"
})), /* @__PURE__ */ React.createElement("linearGradient", {
id: "b",
x1: 6.442,
x2: 116.825,
y1: 114.105,
y2: 114.105,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#4e7f98"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#3bc0b5"
})), /* @__PURE__ */ React.createElement("linearGradient", {
id: "c",
x1: 6.442,
x2: 116.825,
y1: 177.791,
y2: 177.791,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#30435c"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#299aa9"
})), /* @__PURE__ */ React.createElement("linearGradient", {
id: "d",
x1: 121.123,
x2: 229.325,
y1: 176.984,
y2: 176.984,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#2e2c29"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#323232"
})), /* @__PURE__ */ React.createElement("path", {
fill: "#fff4fc",
d: "m235.4 141.5-113.2 83.7c-1.5 1.1-3.7 1.2-5.2.1L2 144c-2.2-1.6-2.7-4.8-.9-6.9L114.2 1.5c1.6-2 4.6-2 6.3 0L236 136.3c1.3 1.6 1.1 4-.6 5.2z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "url(#a)",
d: "m229.3 138.7-107.6 79.5-.6-81-.8-127.2 106.5 125.7z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "url(#b)",
d: "m6.4 140.4 110.4 77.8L114.3 10z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "url(#c)",
d: "M115.9 137.4 7.2 139.5l-.8.9 110.4 77.8z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "url(#d)",
d: "m121.1 137.2 105.7-1.5 2.5 3-107.6 79.5z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "none",
stroke: "#98c9c0",
strokeMiterlimit: 10,
strokeWidth: 2,
d: "m121.1 136.2 105.7-1.5m-110.9 1.7L7.2 138.5m108.2-37.6C92 83 82.1 80.2 78.4 83.2 68.2 91.7 106 147 90.9 160.9c-4.4 4-13.5 4.9-31 6.6-5.4.5-9.9.7-12.8.7m109.7-32.5-35.9-31.4M97.2 29.7c-.3 4.9-.1 14.6 4.9 25.3 4 8.6 9.5 14.2 13 17.3m85.8 86.4c.9-1.3 12.1-17.8 5.2-33.3-5.1-11.5-17.6-16.8-19.5-17.6-2.5-1.1-2.6-.8-14.3-4.6-7.1-2.4-10.7-3.5-13.8-4.7-4.8-1.8-14.1-5.4-24.7-12.2-3.5-2.2-8-5.4-13.1-9.6"
}));
var aurora_default = Aurora;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=aurora.js.map