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.
7 lines (6 loc) • 594 B
JavaScript
import { jsxs as _jsxs } from "react/jsx-runtime";
var QueryResultsSummary = function (_a) {
var currentPage = _a.currentPage, itemsPerPage = _a.itemsPerPage, totalItems = _a.totalItems, totalItemsReturned = _a.totalItemsReturned;
return (_jsxs("div", { className: "searchResultMessage text-right w-full flex justify-end font-bold my-auto mx-0 text-black text-[20px] my-[20px]", children: ["Showing ", itemsPerPage * (currentPage - 1) + 1, " -", " ", itemsPerPage * (currentPage - 1) + totalItemsReturned, " of ", totalItems, " ", "results"] }));
};
export default QueryResultsSummary;