@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
54 lines (53 loc) • 2.81 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/whitecoin.tsx
var whitecoin_exports = {};
__export(whitecoin_exports, {
default: () => whitecoin_default
});
module.exports = __toCommonJS(whitecoin_exports);
var React = __toESM(require("react"));
var Whitecoin = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlSpace: "preserve",
id: "\\u56FE\\u5C42_1",
x: 0,
y: 0,
viewBox: "0 0 42 42",
...props
}, /* @__PURE__ */ React.createElement("style", null, ".st0{fill:#40506b}"), /* @__PURE__ */ React.createElement("path", {
d: "M28.8 17.7v2.6H36c-.1-.7-.1-1.9-.4-2.6h-6.8zM36 22h-8.5v2.6h8.1c.3-.8.3-1.9.4-2.6zM5.8 24.5h8.1v-2.6H5.4c.1.8.1 1.9.4 2.6zm0-6.8c-.1.7-.3 1.8-.4 2.6h7.2v-2.6H5.8z",
className: "st0"
}), /* @__PURE__ */ React.createElement("path", {
d: "M20.6 20.7c-.4 1.5-.9 3-1.3 4.5s-.9 3-1.4 4.5h-3.5c-.4-.9-.8-1.8-1.2-3-.4-1.1-.9-2.4-1.3-3.8-.4-1.3-.9-2.8-1.4-4.4s-.9-3-1.3-4.7h4.7c.1.7.4 1.5.5 2.3.2.9.4 1.7.6 2.6l.6 2.7c.2.9.5 1.8.7 2.6.3-.9.5-1.8.8-2.7.3-.9.5-1.8.7-2.7.2-.9.4-1.8.6-2.6.2-.9.4-1.6.6-2.3h3.3c.1.7.4 1.5.6 2.3.2.9.4 1.7.6 2.6s.4 1.8.7 2.7c.2.9.5 1.8.8 2.7.2-.9.5-1.7.7-2.6s.5-1.8.7-2.7c.2-.9.4-1.8.6-2.6.2-.9.4-1.6.5-2.3h4.7c-.4 1.6-.9 3.1-1.3 4.7-.5 1.6-.9 3-1.4 4.4-.4 1.3-.9 2.6-1.3 3.8-.4 1.1-.8 2.2-1.2 3h-3.5L22 25.2c-.5-1.5-.9-2.9-1.4-4.5z",
className: "st0"
}), /* @__PURE__ */ React.createElement("path", {
d: "M21 42C9.4 42 0 32.6 0 21S9.4 0 21 0s21 9.4 21 21-9.4 21-21 21zm0-39C11.1 3 3 11.1 3 21s8.1 18 18 18 18-8.1 18-18S30.9 3 21 3z",
className: "st0"
}));
var whitecoin_default = Whitecoin;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=whitecoin.js.map