@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
51 lines (50 loc) • 3.73 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/electra.tsx
var electra_exports = {};
__export(electra_exports, {
default: () => electra_default
});
module.exports = __toCommonJS(electra_exports);
var React = __toESM(require("react"));
var Electra = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "none"
}, /* @__PURE__ */ React.createElement("circle", {
cx: 16,
cy: 16,
r: 16,
fill: "#AA15DD"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#FFF",
d: "M15.999 25.612c.24.001.435.2.436.444A.44.44 0 0 1 16 26.5a.44.44 0 0 1-.436-.444.44.44 0 0 1 .436-.444zm-8.78-14.254a.45.45 0 0 1-.16-.609.436.436 0 0 1 .803.108.45.45 0 0 1-.157.469.432.432 0 0 1-.486.032zm0 9.294a.434.434 0 0 1 .596.163.448.448 0 0 1-.16.606.432.432 0 0 1-.596-.163.448.448 0 0 1 .16-.606zm17.56-9.294a.434.434 0 0 1-.596-.163.452.452 0 0 1 .03-.495.434.434 0 0 1 .462-.16.448.448 0 0 1 .104.818zM16 6.388a.44.44 0 0 1-.429-.444c0-.18.108-.343.271-.411a.431.431 0 0 1 .477.1.45.45 0 0 1 .09.486.436.436 0 0 1-.409.269zm7.8 14.194a.904.904 0 0 0 .222 1.152l-7.151 4.2a.883.883 0 0 0-.87-.769.883.883 0 0 0-.87.769l-7.153-4.2a.904.904 0 0 0 .22-1.151.871.871 0 0 0-1.089-.383v-8.4a.871.871 0 0 0 1.088-.382.904.904 0 0 0-.217-1.15l7.151-4.2a.883.883 0 0 0 .87.769.883.883 0 0 0 .87-.77l7.153 4.2a.904.904 0 0 0-.22 1.15.871.871 0 0 0 1.089.383v8.395a.873.873 0 0 0-1.092.387zm-6.112-1.287a3.628 3.628 0 0 1-4.773-.994l4.718-2.764 1.608-.944.762-.45.044-.021 3.24-1.906c.2-.117.27-.377.156-.581a.407.407 0 0 0-.572-.155l-2.382 1.405a5.622 5.622 0 0 0-4.028-2.46V7.696a.436.436 0 0 0-.432-.44.436.436 0 0 0-.433.44V10.4a5.493 5.493 0 0 0-2.52.754 5.665 5.665 0 0 0-1.754 1.607L9.138 11.48a.414.414 0 0 0-.571.156.43.43 0 0 0 .153.58l2.167 1.274a5.763 5.763 0 0 0-.59 3.002l.201 1.144c.09.31.203.612.341.903L8.72 19.784a.43.43 0 0 0-.152.583.416.416 0 0 0 .573.155l2.127-1.246a5.656 5.656 0 0 0 4.325 2.45v2.578c0 .243.194.44.433.44a.436.436 0 0 0 .432-.44v-2.6a5.365 5.365 0 0 0 2.201-.73 5.54 5.54 0 0 0 1.865-1.822l2.337 1.368c.2.114.452.043.567-.159a.43.43 0 0 0-.148-.58l-2.352-1.38c.006-.013.02-.028.02-.044.714-1.644-1.197-2.35-1.622-1.084a3.706 3.706 0 0 1-1.639 2.022zm7.092 1.357a.45.45 0 0 1 .16.607.432.432 0 0 1-.596.162.448.448 0 0 1-.16-.606.432.432 0 0 1 .596-.163zm-12.496-4.065c-.043-1.667.155-2.83 1.734-3.758a3.62 3.62 0 0 1 4.126.316l-5.86 3.442z"
})));
var electra_default = Electra;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=electra.js.map