UNPKG

@memori.ai/memori-react

Version:

[![npm version](https://img.shields.io/github/package-json/v/memori-ai/memori-react)](https://www.npmjs.com/package/@memori.ai/memori-react) ![Tests](https://github.com/memori-ai/memori-react/workflows/CI/badge.svg?branch=main) ![TypeScript Support](https

10 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const jsx_runtime_1 = require("react/jsx-runtime"); const classnames_1 = tslib_1.__importDefault(require("classnames")); const Loading = ({ className, title, loading = true, }) => ((0, jsx_runtime_1.jsx)("svg", { ...(!title ? { 'aria-hidden': 'true' } : {}), xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1024 1024", focusable: "false", role: "img", className: (0, classnames_1.default)(className, { 'memori-loading-icon': loading, }), "aria-label": title, children: (0, jsx_runtime_1.jsx)("path", { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" }) })); exports.default = Loading; //# sourceMappingURL=Loading.js.map