@web3sdkio/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
66 lines (65 loc) • 2.45 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/divi.tsx
var divi_exports = {};
__export(divi_exports, {
default: () => divi_default
});
module.exports = __toCommonJS(divi_exports);
var React = __toESM(require("react"));
var Divi = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
viewBox: "0 0 39 39",
...props
}, /* @__PURE__ */ React.createElement("linearGradient", {
id: "a",
x1: 39.655,
x2: 0,
y1: 2.345,
y2: 42,
gradientTransform: "matrix(1 0 0 -1 0 42)",
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#4b81eb"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#6752f4"
})), /* @__PURE__ */ React.createElement("path", {
fill: "url(#a)",
fillRule: "evenodd",
d: "M19.8 0c11 0 19.8 8.9 19.8 19.8 0 11-8.9 19.8-19.8 19.8C8.9 39.7 0 30.8 0 19.8 0 8.9 8.9 0 19.8 0z",
clipRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#fff",
fillRule: "evenodd",
d: "M9 9.4h11.8c4.8 0 9.7 3.4 9.7 10.3S25.6 30 20.8 30h-8.7V18.9h5.1V25h3.4c2.2 0 4.8-2.5 4.8-5.3s-2.5-5.3-4.8-5.3H15c-2.5 0-4.5-1.7-6-5z",
clipRule: "evenodd"
}));
var divi_default = Divi;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=divi.js.map