@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
57 lines (56 loc) • 5.83 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/pivx.tsx
var pivx_exports = {};
__export(pivx_exports, {
default: () => pivx_default
});
module.exports = __toCommonJS(pivx_exports);
var React = __toESM(require("react"));
var Pivx = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1634 2000",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "#5e4778"
}, /* @__PURE__ */ React.createElement("path", {
d: "M816.17 0 0 170.6v1131.26c0 165.63 169.69 322.15 353.45 443.89 144 94.41 294.68 177.23 450.3 249.28l13.24 5 13.24-5c33.11-12.42 803.76-340.37 803.76-693.17V170.6zm751.61 1301.86c0 246.79-530.59 507.66-751.61 594.62l-10.76-4.14-4.14-1.66-7.45-3.31-4.14-1.66-7.45-3.31-2.48-.83-9.11-4.14-2.48-.83-9.93-4.14-1.66-.83-10.76-4.14H745l-12.42-5h-.83c-110.09-48.86-253.29-120.91-379.11-205.38l-14.9-9.94-14.9-10.77-14.07-9.94-.83-.83-13.24-9.94-.83-.83-13.26-9.86-.83-.83-13.24-9.94-1.66-.83-12.42-9.11-1.66-.83-11.59-9.11-1.66-1.66-10.76-9.11-1.66-1.66-9.93-9.11-2.48-1.66-9.11-9.11-2.48-2.48-9.11-9.11-2.48-2.48-9.11-8.28-2.48-2.48-8.28-8.28-2.48-3.31-7.45-8.28-2.48-3.31-7.45-8.28-2.48-3.31-6.62-8.28-3.31-3.31-5.79-7.45-3.31-4.14-5.79-7.45-3.31-4.14-5-7.45-2.48-4.14-5-7.45-2.48-5c-1.66-2.48-2.48-5-4.14-6.63l-3.31-5a24.8 24.8 0 0 1-3.31-6.63l-2.48-5c-.83-2.48-2.48-4.14-3.31-6.63a27.58 27.58 0 0 0-2.48-5 57.08 57.08 0 0 1-2.48-6.63c-.83-2.48-1.66-3.31-2.48-5.8a40.38 40.38 0 0 0-2.48-5.8 15.36 15.36 0 0 1-1.66-5.8c0-1.66-1.66-4.14-1.66-5.8a15.36 15.36 0 0 0-1.66-5.8c-.83-1.66-.83-3.31-1.66-5.8s-.83-4.14-1.66-6.63a12.31 12.31 0 0 1-.83-5c0-1.66-.83-4.14-.83-6.63s-.83-3.31-.83-5a30.74 30.74 0 0 0-1.66-7.45c-.83-2.48 0-2.48 0-4.14V231.06L812.86 111h6.62L1567 231.06l.83 1070.81z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M816.17 193.79 250 284.89l-116.73 18.22v969.77c0 224.43 482.58 462.11 682.9 540.79 116.71-45.55 328.62-144.93 485.07-264.18 11.59-9.11 24-18.22 34.77-27.33 53.8-43.89 98.5-90.27 127.48-137.47 22.35-36.44 35.59-73.71 35.59-111V303.11zM486.72 708.07h398.15v82.82H486.72v-82.82zM1263.16 747c0 196.27-136.58 323-325.31 323H676.28v414.08H572.81V976.4h351c140.72 0 232.6-85.3 232.6-229.4 0-142.44-91.88-225.26-230.95-225.26H816.17l-261.57.83v-94.41H937c189.56 0 326.14 122.57 326.14 318.84"
}), /* @__PURE__ */ React.createElement("path", {
d: "M816.17 0v111h3.31L1567 231.06V1301c0 246.79-530.59 507.66-751.61 594.62v103.52l13.24-5c33.11-12.42 803.76-340.37 803.76-693.17V170.6z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M937 1069.15H676.28V1118A1076.23 1076.23 0 0 0 817 1213.25c164.72 94.41 376.63 158.18 647.31 170.6 22.35-36.44 35.59-73.71 35.59-111V303.11L817 193.79l-567 91.1c26.49 212.84 105.13 506.83 322.83 737.89V976.4h351c140.72 0 232.6-85.3 232.6-229.4 0-142.44-91.88-225.26-230.95-225.26H816.17l-261.57.83v-94.41H937c188.73 0 325.31 123.4 325.31 318 0 196.27-135.75 323-325.31 323M816.17 708.07H884v82.82H486.72v-82.82h329.45z"
})), /* @__PURE__ */ React.createElement("g", {
fill: "#3d3144"
}, /* @__PURE__ */ React.createElement("path", {
d: "m806.24 1892.34-4.14-1.66-7.45-2.48-4.14-1.66-7.45-3.31-2.48-.83-9.11-4.14-2.48-.83-9.93-4.14-1.66-.83-10.76-5H745l-12.42-5h-.83c-109.26-48.86-252.47-120.91-378.29-206.21l-14.9-9.94-14.9-11.59-14.07-9.94-.83-.83-13.24-9.94-.83-.83-13.24-9.94-.83-.83-13.24-9.94-1.66-.83-12.42-9.11-1.66-.83-11.59-9.11-1.65-1.59-10.76-9.11-1.66-1.66-9.93-9.11-2.48-1.66-9.11-9.11-2.48-2.48-9.11-9.11-2.48-2.48-9.11-8.28-2.48-2.48-8.28-8.28-2.48-3.31-7.45-8.28-2.48-3.31-7.45-8.28-2.48-3.31-7.45-6.63-3.31-3.31-5.79-7.45-3.31-4.14-5.79-7.45-3.31-4.14-5-7.45-2.48-4.14-5-7.45-2.48-4.14c-1.66-2.48-2.48-5-4.14-6.63l-3.31-5-3.31-6.63-2.48-5c-.83-2.48-2.48-4.14-3.31-6.63a27.58 27.58 0 0 0-2.48-5 57.08 57.08 0 0 1-2.48-6.63c-.83-2.48-1.66-3.31-2.48-5.8a40.38 40.38 0 0 0-2.48-5.8 12 12 0 0 1-1.66-5.8c0-2.48-1.66-5-1.66-6.63a15.36 15.36 0 0 0-1.66-5.8c-.83-1.66-.83-3.31-1.66-5.8s-.83-4.14-1.66-6.63a12.31 12.31 0 0 1-.83-5c0-1.66-.83-4.14-.83-6.63s-.83-3.31-.83-5a30.74 30.74 0 0 0-1.66-7.45c-.83-2.48 0-2.48 0-4.14V231.06L812.86 111h3.31V0L0 170.6v1131.26c0 165.63 169.69 322.15 353.45 443.89 144 94.41 294.68 177.23 450.3 249.28l13.24 5v-103.55l-10.76-4.14"
}), /* @__PURE__ */ React.createElement("path", {
d: "M816.17 1213.25A1076.23 1076.23 0 0 1 675.45 1118v366H572v-461.23C354.28 790.89 276.47 496.89 250 284.89l-116.73 18.22v969.77c0 224.43 482.58 462.11 682.9 540.79 116.71-45.55 328.62-144.93 485.07-264.18 11.59-9.11 24-18.22 34.77-27.33 53.8-43.89 98.5-90.27 127.48-137.47-270.68-14.08-481.76-77.85-647.31-171.43"
})));
var pivx_default = Pivx;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=pivx.js.map