@hhgtech/hhg-components
Version:
Hello Health Group common components
14 lines (13 loc) • 476 B
TypeScript
import React, { CSSProperties } from 'react';
export type Props = {
pagesAmount: number;
currentPage: number;
onChange: (p: number) => void;
onClick?: (e: Event) => void;
className?: string;
style?: CSSProperties;
href?: string;
queryPageName?: string;
};
declare const Pagination: ({ className, pagesAmount, currentPage, onChange, onClick, style, href: _href, queryPageName, }: Props) => React.JSX.Element;
export { Pagination };