@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
53 lines (52 loc) • 2.66 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/hive-blockchain.tsx
var hive_blockchain_exports = {};
__export(hive_blockchain_exports, {
default: () => hive_blockchain_default
});
module.exports = __toCommonJS(hive_blockchain_exports);
var React = __toESM(require("react"));
var HiveBlockchain = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 220 190",
...props
}, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("style", null, ".cls-1{fill:#e31337}")), /* @__PURE__ */ React.createElement("g", {
id: "Layer_2",
"data-name": "Layer 2"
}, /* @__PURE__ */ React.createElement("g", {
id: "Layer_1-2",
"data-name": "Layer 1"
}, /* @__PURE__ */ React.createElement("path", {
d: "M157.27 107.26a1 1 0 0 1 .82 1.42l-46.75 80.85a1 1 0 0 1-.82.47H81.94a.94.94 0 0 1-.81-1.42l46.75-80.85a.94.94 0 0 1 .81-.47Zm-27.79-23.17a1 1 0 0 1-.82-.47L81.13 1.42A.94.94 0 0 1 81.94 0h28.58a1 1 0 0 1 .82.47l47.53 82.2a.94.94 0 0 1-.81 1.42Z",
className: "cls-1"
}), /* @__PURE__ */ React.createElement("path", {
d: "M135.13 1.42A.94.94 0 0 1 136 0h28.62a.93.93 0 0 1 .81.47l54.49 94.06a.93.93 0 0 1 0 .94l-54.49 94.06a.93.93 0 0 1-.81.47H136a.94.94 0 0 1-.82-1.42L189.34 95Zm-23.26 93.1a1 1 0 0 1 0 1l-54.74 94.01a1 1 0 0 1-1.65 0L.13 95.48a1 1 0 0 1 0-1L54.87.47a1 1 0 0 1 1.65 0Z",
className: "cls-1"
}))));
var hive_blockchain_default = HiveBlockchain;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=hive-blockchain.js.map