@web3sdks/chain-icons
Version:
A quick, easy and light-weight way to add chain / network icons to your react app.
53 lines (52 loc) • 3.34 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/iot-chain.tsx
var iot_chain_exports = {};
__export(iot_chain_exports, {
default: () => iot_chain_default
});
module.exports = __toCommonJS(iot_chain_exports);
var React = __toESM(require("react"));
var IotChain = (props) => /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, /* @__PURE__ */ React.createElement("circle", {
cx: 16,
cy: 16,
r: 16,
fill: "#102044"
}), /* @__PURE__ */ React.createElement("path", {
fill: "#FFF",
fillRule: "nonzero",
d: "M24.248 19.35c.45.173.748.601.752 1.08a1.15 1.15 0 0 1-.568.993 1.17 1.17 0 0 1-1.15.02l-6.03 3.29A1.159 1.159 0 0 1 16.117 26a1.16 1.16 0 0 1-1.188-1.131l-2.94-1.683h-.067v-.035L8.824 21.38a1.154 1.154 0 0 1-.658.204 1.16 1.16 0 0 1-1.154-.993 1.154 1.154 0 0 1 .832-1.271v-6.616a1.157 1.157 0 0 1-.84-1.013c-.04-.478.221-.931.658-1.138a1.17 1.17 0 0 1 1.306.207l5.97-3.42A1.16 1.16 0 0 1 16.088 6a1.16 1.16 0 0 1 1.137 1.399l5.828 3.338c.213-.192.49-.298.779-.297a1.153 1.153 0 1 1 .416 2.233v6.678zm-4.118-2.605v5.683l2.672-1.457a1.16 1.16 0 0 1 .797-1.674v-6.57a1.16 1.16 0 0 1-.935-1.133c0-.106.015-.212.044-.315l-2.533-1.452v5.284h-.004l-.01.346-.143.067-.913.546.873.52.139.066.004.062.005.027h.004zm-4.04-8.436c-.332 0-.648-.14-.869-.387l-2.65 1.519v5.612l1.088.648 1.374-.808a1.025 1.025 0 0 1 1.012-1.217 1.025 1.025 0 0 1 1.016 1.177l1.419.844 1.052-.63V9.458l-2.614-1.497a1.157 1.157 0 0 1-.828.347zm.68 8.422 1.083-.652-1.088-.649a1.035 1.035 0 0 1-1.418.023l-1.07.621 1.065.635a1.035 1.035 0 0 1 1.428.022zm-7.528 4.147 2.68 1.536v-5.492l.005-.177.045-.045.224-.133.832-.488-.752-.444-.349-.178v-.213h-.004V9.809l-2.628 1.506c.155.6-.2 1.214-.8 1.385v6.624c.317.092.58.315.723.611.143.297.152.64.024.943zm6.848 2.793c.365 0 .708.17.926.462l2.47-1.35v-5.736l-1.006-.6-1.42.853c.01.05.014.1.014.15 0 .565-.46 1.022-1.03 1.022a1.025 1.025 0 0 1-1.01-1.203l-1.393-.826-1.074.626v5.714l2.525 1.447c.21-.348.589-.56.998-.559z"
})));
var iot_chain_default = IotChain;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=iot-chain.js.map