@helpwave/hightide
Version:
helpwave's component and theming library
21 lines (18 loc) • 852 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsForTranslation } from '../../localization/useTranslation.js';
import { FormTranslationType } from '../../localization/defaults/form.js';
import { CSSProperties } from 'react';
import '../../localization/util.js';
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 };