@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
54 lines (53 loc) • 3.48 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/bitcloud.tsx
var bitcloud_exports = {};
__export(bitcloud_exports, {
default: () => bitcloud_default
});
module.exports = __toCommonJS(bitcloud_exports);
var React = __toESM(require("react"));
var Bitcloud = (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: "#0AF"
}), /* @__PURE__ */ React.createElement("g", {
fill: "#FFF"
}, /* @__PURE__ */ React.createElement("path", {
d: "M15.962 4.94C9.874 4.94 4.94 9.874 4.94 15.962c0 6.087 4.934 11.023 11.022 11.023 6.087 0 11.023-4.936 11.023-11.023 0-6.088-4.936-11.022-11.023-11.022zm.035 1.746a5.477 5.477 0 0 1 5.143 7.365 3.579 3.579 0 0 0-2.726.632 3.477 3.477 0 0 0 1.074-2.517 3.497 3.497 0 0 0-3.493-3.496 3.495 3.495 0 0 0-3.474 3.139 5.99 5.99 0 0 0-1.988-.02 5.478 5.478 0 0 1 5.464-5.103zm2.015 10.292-1.938-1.16a.4.4 0 0 0-.418.003l-1.7 1.05a.4.4 0 0 0-.188.396 2.332 2.332 0 0 1-2.229 2.65 2.323 2.323 0 0 1-2.396-2.326 2.336 2.336 0 0 1 2.286-2.322 2.32 2.32 0 0 1 1.773.778c.124.14.33.17.492.08l1.638-.919a.406.406 0 0 0 .206-.351v-.1a.404.404 0 0 0-.277-.381 2.326 2.326 0 0 1 .844-4.53 2.333 2.333 0 0 1 2.206 2.152 2.322 2.322 0 0 1-1.731 2.419.405.405 0 0 0-.308.39v.017c0 .14.074.269.192.343l1.721 1.058a.4.4 0 0 0 .522-.088 2.324 2.324 0 0 1 1.87-.87 2.326 2.326 0 1 1-.179 4.65 2.332 2.332 0 0 1-2.194-2.554.4.4 0 0 0-.192-.385zm-6.547 6.033a5.421 5.421 0 0 1-5.423-5.422 5.421 5.421 0 0 1 6.46-5.324 3.49 3.49 0 0 0 1.074 2.421A3.562 3.562 0 0 0 11.468 14a3.59 3.59 0 0 0 0 7.179 3.584 3.584 0 0 0 3.33-2.26c.171.746.487 1.435.913 2.043a5.41 5.41 0 0 1-4.246 2.05zm9.056 0a5.424 5.424 0 0 1-5.411-5.054 5.885 5.885 0 0 0 1.841-.011 3.59 3.59 0 1 0 4.562-3.807 5.797 5.797 0 0 0 .338-1.808 5.424 5.424 0 0 1-1.33 10.68z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M16 3C8.821 3 3 8.821 3 16s5.821 13 13 13 13-5.821 13-13S23.179 3 16 3zm-.038 25.022c-6.66 0-12.058-5.398-12.058-12.058S9.302 3.907 15.962 3.907c6.659 0 12.057 5.398 12.057 12.057 0 6.66-5.398 12.058-12.057 12.058z"
}))));
var bitcloud_default = Bitcloud;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=bitcloud.js.map