@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
89 lines (88 loc) • 5.78 kB
JavaScript
"use strict";
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/snowswap.tsx
var snowswap_exports = {};
__export(snowswap_exports, {
default: () => snowswap_default
});
module.exports = __toCommonJS(snowswap_exports);
var React = __toESM(require("react"));
var Snowswap = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "Layer_1",
x: 0,
y: 0,
viewBox: "0 0 24 24",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st1{fill:#fff}"), /* @__PURE__ */ React.createElement("linearGradient", {
id: "SVGID_1_",
x1: 36.833,
x2: 10.871,
y1: 1001.366,
y2: 998.602,
gradientTransform: "matrix(1 0 0 -1 -12 1012)",
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#1adbc5"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#04d3dd"
})), /* @__PURE__ */ React.createElement("path", {
fill: "url(#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.6.5-1 1-1.3.5-.3 1.1-.3 1.6 0l.1.1c.5.3.8.8.8 1.4 0 .6-.2 1.2-.7 1.6l-.8.8c-.2.2-.2.5 0 .8.2.2.5.2.7 0l.8-.8v1.7c0 .3.2.5.5.5s.5-.2.5-.5V19l.8.8c.1.1.2.2.4.2.5 0 .7-.6.4-.9l-.9-.9c-.4-.4-.7-1-.7-1.6 0-.6.3-1.1.8-1.4l.1-.1c.5-.3 1.1-.3 1.6 0s.9.8 1 1.3l.3 1.3c.1.2.3.4.5.4.3 0 .6-.3.5-.7l-.3-1.1 1.4.8c.3.1.6.1.7-.2.4-.3.4-.6.1-.8zm-5.4-3.5c0 .6-.3 1.2-.9 1.5-.6.3-1.2.3-1.8 0-.5-.3-.9-.9-.9-1.5s.3-1.2.9-1.5c.6-.3 1.2-.3 1.8 0 .6.2.9.8.9 1.5z",
className: "st1"
}), /* @__PURE__ */ React.createElement("linearGradient", {
id: "SVGID_2_",
x1: 36.833,
x2: 10.871,
y1: 1001.366,
y2: 998.602,
gradientTransform: "matrix(1 0 0 -1 -12 1012)",
gradientUnits: "userSpaceOnUse"
}, /* @__PURE__ */ React.createElement("stop", {
offset: 0,
stopColor: "#1adbc5"
}), /* @__PURE__ */ React.createElement("stop", {
offset: 1,
stopColor: "#04d3dd"
})), /* @__PURE__ */ React.createElement("path", {
fill: "url(#SVGID_2_)",
fillRule: "evenodd",
d: "M12 24c6.6 0 12-5.4 12-12S18.6 0 12 0 0 5.4 0 12s5.4 12 12 12z",
clipRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "m19.2 16.1-1.4-.8 1.1-.3c.3-.1.5-.4.4-.7s-.4-.5-.6-.4l-1.2.3c-.6.2-1.2.1-1.7-.2-.5-.3-.8-.8-.8-1.4v-.2c0-.6.3-1.1.8-1.4.5-.3 1.1-.4 1.7-.2 1.4.4 1.3.4 1.4.4.2 0 .4-.2.5-.4.1-.3-.1-.6-.4-.7l-1.1-.3 1.3-.8c.3-.1.3-.5.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zm-5.4-3.5c0 .6-.3 1.2-.9 1.5-.6.3-1.2.3-1.8 0-.5-.3-.9-.9-.9-1.5s.3-1.2.9-1.5c.6-.3 1.2-.3 1.8 0 .6.2.9.8.9 1.5z",
className: "st1"
}));
var snowswap_default = Snowswap;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=snowswap.js.map