UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

20 lines (17 loc) 671 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsForTranslation } from '../hooks/useTranslation.mjs'; import '../hooks/useLanguage.mjs'; import 'react'; type PaginationTranslation = { of: string; }; type PaginationProps = { page: number; numberOfPages: number; onPageChanged: (page: number) => void; }; /** * A Component showing the pagination allowing first, before, next and last page navigation */ declare const Pagination: ({ overwriteTranslation, page, numberOfPages, onPageChanged }: PropsForTranslation<PaginationTranslation, PaginationProps>) => react_jsx_runtime.JSX.Element; export { Pagination, type PaginationProps };