@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
53 lines (52 loc) • 2.4 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/dash.tsx
var dash_exports = {};
__export(dash_exports, {
default: () => dash_default
});
module.exports = __toCommonJS(dash_exports);
var React = __toESM(require("react"));
var Dash = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 513 416",
...props
}, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("style", null, ".cls-1{fill:#008de4}")), /* @__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: "M336.25 0h-186.9l-15.5 86.6 168.7.2c83.1 0 107.6 30.2 106.9 80.2-.4 25.6-11.5 69-16.3 83.1-12.8 37.5-39.1 80.2-137.7 80.1l-164-.1L76 416.8h186.5c65.8 0 93.7-7.7 123.4-21.3 65.7-30.5 104.8-95.3 120.5-179.9C529.65 89.6 500.65 0 336.25 0",
className: "cls-1"
}), /* @__PURE__ */ React.createElement("path", {
d: "M68.7 164.9c-49 0-56 31.9-60.6 51.2C2 241.3 0 251.6 0 251.6h191.4c49 0 56-31.9 60.6-51.2 6.1-25.2 8.1-35.5 8.1-35.5Z",
className: "cls-1"
}))));
var dash_default = Dash;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=dash.js.map