@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
60 lines (59 loc) • 2.25 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/wings.tsx
var wings_exports = {};
__export(wings_exports, {
default: () => wings_default
});
module.exports = __toCommonJS(wings_exports);
var React = __toESM(require("react"));
var Wings = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, /* @__PURE__ */ React.createElement("circle", {
cx: 16,
cy: 16,
r: 16,
fill: "#0dc9f7"
}), /* @__PURE__ */ React.createElement("g", {
fill: "#fff",
fillRule: "nonzero"
}, /* @__PURE__ */ React.createElement("path", {
fillOpacity: 0.305,
d: "m18.904 15.739-3.045 2.364-1.247-4.325-7.224-1.935 9.481.487z"
}), /* @__PURE__ */ React.createElement("path", {
fillOpacity: 0.7,
d: "M8.27 23.993 24.586 11.33 26 14.476l-1.855-.513-.065 3.264z"
}), /* @__PURE__ */ React.createElement("path", {
d: "m22.796 17.78-4.747-8.161L6 9l9.183 2.461 2.49 8.49z"
}))));
var wings_default = Wings;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=wings.js.map