@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
51 lines (50 loc) • 3.59 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/amber.tsx
var amber_exports = {};
__export(amber_exports, {
default: () => amber_default
});
module.exports = __toCommonJS(amber_exports);
var React = __toESM(require("react"));
var Amber = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "none"
}, /* @__PURE__ */ React.createElement("circle", {
cx: 16,
cy: 16,
r: 16,
fill: "#3c5be0"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "M27 16.015v.008a.522.522 0 0 1-.063.228c-.14.255-3.491 6.249-10.936 6.249S5.203 16.506 5.064 16.251A.522.522 0 0 1 5 16.023v-.045l.001-.023a.52.52 0 0 1 .054-.189l.002-.004.006-.012C5.203 15.494 8.555 9.5 16 9.5s10.797 5.995 10.936 6.25l.006.012.003.005a.52.52 0 0 1 .053.188v.046l.002.014zM25.89 16c-.563-.874-2.679-3.793-6.515-4.967a6.07 6.07 0 0 1 2.437 3.63c.263.06.452.296.457.57.005.274-.175.516-.437.586s-.535-.05-.665-.29a.601.601 0 0 1 .119-.724c-.494-2.223-2.322-3.94-4.574-4.239a.267.267 0 0 1-.05-.011 12.37 12.37 0 0 0-1.325 0 .268.268 0 0 1-.05.011 5.372 5.372 0 0 0-2.43.97.272.272 0 0 1-.417-.14.278.278 0 0 1 .101-.308 5.02 5.02 0 0 1 .073-.052C8.784 12.213 6.672 15.126 6.11 16c.557.867 2.64 3.74 6.41 4.935a6.037 6.037 0 0 1-2.375-3.77c-.254-.095-.41-.353-.38-.626s.24-.49.508-.525.526.12.624.377a.601.601 0 0 1-.212.703c.43 2.21 2.148 3.927 4.332 4.33a12.003 12.003 0 0 0 1.968 0 5.375 5.375 0 0 0 2.245-.992.27.27 0 0 1 .272-.035.278.278 0 0 1 .052.478l-.087.065c3.778-1.193 5.865-4.072 6.423-4.94zm-5.07.017c0 2.697-2.162 4.892-4.82 4.892s-4.82-2.195-4.82-4.892c0-2.697 2.162-4.891 4.82-4.891s4.82 2.193 4.82 4.891zm-.544 0c0-2.392-1.918-4.339-4.276-4.339s-4.277 1.946-4.277 4.34 1.919 4.338 4.277 4.338 4.276-1.946 4.276-4.339zm-2.7-1.343c0 .524-.259 1.012-.69 1.3l.43 2.627a.314.314 0 0 1-.317.379h-1.92a.315.315 0 0 1-.318-.379l.428-2.627c-.612-.411-.852-1.205-.573-1.894s1-1.081 1.72-.937c.721.145 1.24.786 1.24 1.531zm4.347 2.043a6.041 6.041 0 0 1-1.51 3.368.27.27 0 0 1-.462-.1.28.28 0 0 1 .06-.272 5.49 5.49 0 0 0 1.372-3.06.274.274 0 0 1 .301-.242c.15.018.256.155.239.306zm-9.87-4.868a.278.278 0 0 1 .01.39 5.49 5.49 0 0 0-1.423 2.97.274.274 0 0 1-.31.231.276.276 0 0 1-.229-.313 6.04 6.04 0 0 1 1.567-3.267.27.27 0 0 1 .385-.01z"
})));
var amber_default = Amber;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=amber.js.map