UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

21 lines (18 loc) 855 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsForTranslation } from '../../localization/useTranslation.mjs'; import { FormTranslationType } from '../../localization/defaults/form.mjs'; import { CSSProperties } from 'react'; import '../../localization/util.mjs'; type PaginationTranslation = FormTranslationType; type PaginationProps = { pageIndex: number; pageCount: number; onPageChanged: (page: number) => void; className?: string; style?: CSSProperties; }; /** * A Component showing the pagination allowing first, before, next and last page navigation */ declare const Pagination: ({ overwriteTranslation, pageIndex, pageCount, onPageChanged, className, style, }: PropsForTranslation<PaginationTranslation, PaginationProps>) => react_jsx_runtime.JSX.Element; export { Pagination, type PaginationProps };