import { GlassSurface, Button, Input } from './ui'; export default function AdminCatalogPagination({ pagination, hasMore, loadingMore, onLoadMore, onLimitChange }) { const { page, limit, total, pages } = pagination; if (total === 0) return null; return (
Showing {(page - 1) * limit + 1}–{Math.min(page * limit, total)} of {total.toLocaleString()}
{pages > 1 && ( <> Page {page} of {pages} )}
); }