sitecore-search-with-google-map
Version:
A library for seamless integration of Sitecore Search with Google Maps in Next.js applications, enabling location-based searches with flexible UI options.
9 lines (8 loc) • 974 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// This component was generated by @sitecore-search/cli on Sat Mar 08 2025 15:39:57 GMT+0530 (India Standard Time)
import { Presence } from '@sitecore-search/ui';
var Spinner = function (_a) {
var _b = _a.loading, loading = _b === void 0 ? false : _b;
return (_jsx(Presence, { present: loading, children: _jsx("div", { className: "text-center absolute left-0 right-0 h-full block top-1/2 items-center w-full", children: _jsxs("div", { role: "status", children: [_jsx("svg", { "aria-busy": loading, "aria-hidden": !loading, focusable: "false", role: "progressbar", viewBox: "0 0 20 20", className: "inline animate-spin w-10 text-slate-900", children: _jsx("path", { d: "M7.229 1.173a9.25 9.25 0 1 0 11.655 11.412 1.25 1.25 0 1 0-2.4-.698 6.75 6.75 0 1 1-8.506-8.329 1.25 1.25 0 1 0-.75-2.385z" }) }), _jsx("span", { className: "sr-only", children: "Loading..." })] }) }) }));
};
export default Spinner;