@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
66 lines (65 loc) • 2.36 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/revain.tsx
var revain_exports = {};
__export(revain_exports, {
default: () => revain_default
});
module.exports = __toCommonJS(revain_exports);
var React = __toESM(require("react"));
var Revain = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 198 198",
...props
}, /* @__PURE__ */ React.createElement("linearGradient", {
id: "a",
x1: 48.215,
x2: 171.281,
y1: 34.676,
y2: 189.785,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#771a4e"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 0.5,
stopColor: "#5e1953"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 0.875,
stopColor: "#430f4e"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#3a0c4c"
})), /* @__PURE__ */ React.createElement("path", {
fill: "url(#a)",
d: "M.3 0h198v198H.3z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "M51.8 40v131l28-15V56l40 23-30 16v33l67 46v-31l-41-29 34-18V64l-70-39z"
}));
var revain_default = Revain;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=revain.js.map