@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
67 lines (66 loc) • 2.99 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/ren.tsx
var ren_exports = {};
__export(ren_exports, {
default: () => ren_default
});
module.exports = __toCommonJS(ren_exports);
var React = __toESM(require("react"));
var Ren = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
...props
}, /* @__PURE__ */ React.createElement("linearGradient", {
id: "a",
x2: 32,
y1: 16,
y2: 16,
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#001c3a"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 0.6,
stopColor: "#001e3d"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 0.7,
stopColor: "#001f3f"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#002042"
})), /* @__PURE__ */ React.createElement("circle", {
cx: 16,
cy: 16,
r: 16,
fill: "url(#a)"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "m9 9.3 1.7-.9.2.4 6.2-3.6-.4-.3-.5-.3-.2-.1-10.2 5.9v.2L8.7 9zm0 3.8 4.9-2.9.2.4L20.4 7l-.5-.3-.5-.2-.2-.1-13.4 7.7v.2l2.9-1.6zm0 1.8 6.5-3.7.2.3L22 7.9l-.5-.2-.5-.3-.2-.1-15 8.6v.3l2.9-1.7zm0 1.8 8.1-4.6.2.3 6.3-3.5-.5-.3-.5-.3-.2-.1-16.6 9.6v.2l2.9-1.6zm0 1.9 9.7-5.6.2.4 6.3-3.6-.5-.3-.4-.2-.3-.2L5.8 19.6v.3l2.9-1.7zm16.8-8.4-.2-.2L5.8 21.5v.2l2.9-1.6.3.4 9.7-5.7.2.4 7.3-4.1v-.7zM7.1 22.9l1.6-1 .2.4 9.8-5.6.2.4 7.3-4.2v-1.3L6.8 22.7zm11.6-4.3.2.4 7.3-4.3v-1.3L8.4 23.7l.3.1 1.6-1 .3.4m-.3 1.5 1.7-.9.2.4 6.5-3.8.2.4 7.3-4.2v-1.3L10 24.6zm1.6.9 1.7-.9.2.4 4.9-2.8.2.4 7.3-4.2v-1.4l-14.6 8.4zm1.3.8.3.2 1.7-1 .2.4 3.3-1.9.2.4 7.3-4.2V19zm1.9 1.1 1.6-1 .3.4 1.7-.9.2.4 7.3-4.2v-1.4l-11.3 6.6zm3.7-21.4-.5-.3-.5-.2-.2-.2-11.8 6.8v.3l2.9-1.7.3.4 3.3-1.9.2.4z"
}));
var ren_default = Ren;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=ren.js.map