@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
51 lines (50 loc) • 2.15 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/just.tsx
var just_exports = {};
__export(just_exports, {
default: () => just_default
});
module.exports = __toCommonJS(just_exports);
var React = __toESM(require("react"));
var Just = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1000 1000",
...props
}, /* @__PURE__ */ React.createElement("path", {
fill: "#b41514",
fillRule: "evenodd",
d: "M500 0c276.1 0 500 223.9 500 500s-223.9 500-500 500S0 776.1 0 500 223.9 0 500 0Z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "M496 825a67 67 0 1 1 67-67 67 67 0 0 1-67 67Zm0-462a67 67 0 1 1 67-67 67 67 0 0 1-67 67ZM222 646v-93h548v93H222z"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
d: "M496 507c-156.3 0-283.5-124-288.8-279h99.1c5.2 100.3 88.2 180 189.7 180s184.5-79.7 189.7-180h99.1C779.5 383 652.3 507 496 507Z"
}));
var just_default = Just;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=just.js.map