UNPKG

@web3sdkio/chain-icons

Version:

A quick, easy and light-weight way to add chain / network icons to your react app.

52 lines (51 loc) 4.48 kB
"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/expanse.tsx var expanse_exports = {}; __export(expanse_exports, { default: () => expanse_default }); module.exports = __toCommonJS(expanse_exports); var React = __toESM(require("react")); var Expanse = (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: "#FFAA5C" }), /* @__PURE__ */ React.createElement("path", { fill: "#FFF", d: "M26 14.717c-.004.039-.01.077-.01.116-.005 1.22-.01 2.441-.012 3.662l-.004 2.507c0 .08-.007.16-.012.26-.044-.02-.076-.033-.106-.05l-4.654-2.595c-.083-.046-.09-.087-.05-.169.793-1.628.796-3.26.015-4.892-.037-.078-.03-.117.05-.161l4.656-2.613c.039-.022.084-.033.127-.049v3.984zM16.3 5c.078.047.155.097.235.142l9.049 5.085c.034.019.066.04.113.068-.042.027-.07.047-.101.064l-4.618 2.579c-.121.067-.12.066-.2-.048-1.024-1.435-2.428-2.255-4.212-2.463a1.3 1.3 0 0 0-.16-.01c-.094 0-.13-.036-.13-.135-.001-1.013-.007-2.027-.01-3.04l-.003-2.099c0-.048.011-.095.017-.143h.02zm-.62 22c-.034-.025-.065-.053-.1-.073l-9.117-5.125c-.043-.024-.084-.05-.143-.084.04-.027.066-.048.096-.065 1.53-.855 3.06-1.709 4.59-2.566.092-.052.135-.032.192.047.956 1.326 2.262 2.11 3.901 2.377.167.027.338.04.507.048.096.004.134.03.134.13-.001.897.003 1.794.006 2.69l.005 2.546c0 .025-.007.05-.011.075h-.06zM6 20.45c.005-.03.015-.061.016-.092l.004-1.263.007-2.827.013-4.459.005-.961c0-.028.004-.056.007-.101.044.021.076.034.106.051 1.522.85 3.043 1.7 4.567 2.548.089.049.101.087.057.18-.8 1.641-.796 3.284 0 4.927.065.132.067.131-.063.204-1.528.86-3.056 1.718-4.585 2.575-.039.022-.09.024-.134.035v-.816zm13.473-.93c.163-.573.216-1.15.18-1.736-.042-.718-.22-1.4-.594-2.026-.43-.722-1.052-1.245-1.81-1.625-.2-.101-.222-.05-.103-.3.269-.563.74-.913 1.32-1.137a4.11 4.11 0 0 1 1.258-.246.236.236 0 0 1 .16.072 4.994 4.994 0 0 1 1.338 2.739c.383 2.607-1.316 5.054-3.954 5.702-2.927.72-5.896-1.082-6.504-3.944-.568-2.679 1.148-5.27 3.708-5.954 1.923-.513 3.629-.104 5.122 1.17l.169.144-.021.032c-.147-.018-.293-.04-.44-.054-.913-.086-1.811-.026-2.682.273a4.465 4.465 0 0 0-2.508 2.085c-.08.142-.086.143-.24.09a1.31 1.31 0 0 1-.519-.337 2.747 2.747 0 0 1-.629-1.039c-.117-.34-.203-.69-.303-1.035-.008-.027-.014-.055-.038-.084-.014.08-.03.158-.042.238-.012.08-.022.16-.03.24-.095.894-.044 1.774.265 2.627.384 1.064 1.107 1.83 2.163 2.296.138.061.138.062.064.188-.391.664-1.004.998-1.761 1.112-.352.053-.704.032-1.063.006.033.013.065.028.098.04 1.73.595 3.63.328 5.061-1.186a6.93 6.93 0 0 0 .938-1.267c.068-.118.073-.119.183-.039.469.342.748.81.94 1.335.179.483.25.985.267 1.496.001.041.004.082.007.123zm6.268 2.212-9.463 5.249c-.005-.055-.012-.089-.012-.122 0-1.73 0-3.46-.002-5.19 0-.077.023-.105.106-.112 1.84-.152 3.299-.958 4.37-2.423.093-.129.092-.13.23-.053l4.643 2.575c.036.02.072.043.128.076zM15.739 5.036c.003.056.006.09.006.124 0 1.707 0 3.414.002 5.12 0 .08-.012.12-.11.127-1.878.136-3.363.949-4.451 2.443-.086.118-.084.119-.21.049l-4.521-2.51c-.053-.03-.102-.066-.153-.1.052-.036.1-.077.156-.108l9.11-5.056c.051-.028.103-.053.17-.089z" }))); var expanse_default = Expanse; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {}); //# sourceMappingURL=expanse.js.map