@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
56 lines (55 loc) • 2.63 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/amp.tsx
var amp_exports = {};
__export(amp_exports, {
default: () => amp_default
});
module.exports = __toCommonJS(amp_exports);
var React = __toESM(require("react"));
var Amp = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 124 124",
...props
}, /* @__PURE__ */ React.createElement("circle", {
cx: 62,
cy: 62,
r: 60,
fill: "#f2e3ee"
}), /* @__PURE__ */ React.createElement("circle", {
cx: 62,
cy: 62,
r: 62,
fill: "#d9327c"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
fillRule: "evenodd",
d: "M59.6 32.7c-.5.4-1.1 1.1-1.5 2.4-.4 1.3-2.6 7.7-5.4 15.7h18.7c-2.8-8-5-14.4-5.4-15.7-.4-1.3-1-2-1.5-2.4-.5-.4-1.2-.7-2.5-.7s-1.9.3-2.4.7zM32 50.8h12.7c3.1-9.1 5.8-16.7 6.2-18.1.8-2.4 2.1-4.5 4.1-6 2-1.5 4.4-2.2 6.9-2.2s4.9.6 6.9 2.2c2 1.5 3.3 3.6 4.1 6 .5 1.4 3.1 8.9 6.2 18.1H92c2.1 0 3.8 1.7 3.8 3.8s-1.7 3.8-3.8 3.8H32c-2.1 0-3.7-1.7-3.7-3.8s1.7-3.8 3.7-3.8zm0 15c-2.1 0-3.7 1.7-3.7 3.8s1.7 3.8 3.7 3.8h5l-2 5.8-2 5.8-.8 2.2c-.7 2 .4 4.1 2.3 4.8 2 .7 4.1-.4 4.8-2.3l.8-2.2 2-5.8c.8-2.4 1.8-5.2 2.9-8.3h34.2c1 3 2 5.9 2.9 8.3l2 5.8.8 2.2c.7 2 2.8 3 4.8 2.3 2-.7 3-2.8 2.3-4.8l-.8-2.2-2-5.8-2-5.8h5c2.1 0 3.8-1.7 3.8-3.8s-1.7-3.8-3.8-3.8H32zm56.3 22.5 3.5-1.2-3.5 1.2zm0 0-3.5 1.2 3.5-1.2zm-52.5 0 3.5 1.2-3.5-1.2zm0 0-3.5-1.2 3.5 1.2z",
clipRule: "evenodd"
}));
var amp_default = Amp;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=amp.js.map