@coconut-software/ui
Version:
React components for faster and easier web development.
14 lines (13 loc) • 419 B
TypeScript
import type { Limit } from './TableContext';
export type HandlesPaginationChange = (args: {
limit: Limit;
page: number;
}) => void;
interface PaginationProps {
/**
* Callback function invoked when pagination state changes
*/
onChange: HandlesPaginationChange;
}
declare function PaginationComponent({ onChange }: PaginationProps): JSX.Element;
export default PaginationComponent;