@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
56 lines (55 loc) • 4.37 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/pnetwork.tsx
var pnetwork_exports = {};
__export(pnetwork_exports, {
default: () => pnetwork_default
});
module.exports = __toCommonJS(pnetwork_exports);
var React = __toESM(require("react"));
var Pnetwork = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 200 200",
...props
}, /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "M66.5 14h70v70h-70z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#d95e59",
d: "M168.9 31.1 31.1 168.9c38.1-38 99.8-38 137.8 0 17.7-17.6 28.6-42 28.6-69 0-26.8-10.9-51.2-28.6-68.8zM114 196.5c-2.3.3-4.6.6-7 .8 2.3-.2 4.7-.5 7-.8z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#f66",
d: "M167.6 29.8c-.4-.4-.9-.8-1.3-1.3-1-1-2.1-1.9-3.2-2.8-.2-.2-.5-.4-.7-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
fill: "#016273",
d: "M91.4 39.7c-4.8 4.8-4.8 12.5 0 17.3s12.5 4.8 17.3 0c4.8-4.8 4.8-12.5 0-17.3-4.9-4.8-12.6-4.8-17.3 0z"
}));
var pnetwork_default = Pnetwork;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=pnetwork.js.map