@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
51 lines (50 loc) • 2.17 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/sora.tsx
var sora_exports = {};
__export(sora_exports, {
default: () => sora_default
});
module.exports = __toCommonJS(sora_exports);
var React = __toESM(require("react"));
var Sora = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "Layer_1",
x: 0,
y: 0,
viewBox: "0 0 226 226",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st10{fill:#e3242d}"), /* @__PURE__ */ React.createElement("path", {
d: "M43.9 112.9V94.3h59.8V75.2H43.9V56.7h138.2v18.6h-59.8v19.1h59.8V113h-59.8l60.1 89.4c26.6-20.7 43.7-53 43.7-89.3C226.1 50.6 175.5 0 113.1 0 50.6 0 0 50.6 0 113.1c0 36.3 17.1 68.6 43.7 89.3l60.1-89.4c0-.1-59.9-.1-59.9-.1z",
className: "st10"
}), /* @__PURE__ */ React.createElement("path", {
d: "M59.2 212.5c16 8.7 34.3 13.6 53.8 13.6s37.8-4.9 53.8-13.6L113 132.3l-53.8 80.2z",
className: "st10"
}));
var sora_default = Sora;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=sora.js.map