UNPKG

@trellixio/roaster-coffee

Version:
23 lines 923 B
import * as React from 'react'; import { ButtonProps } from '../Button'; export interface PaginationProps { /** Callback when next button is clicked */ onNext?: () => void; /** Callback when previous button is clicked */ onPrevious?: () => void; /** Whether there is a next page to show */ hasNext?: boolean; /** Whether there is a previous page to show */ hasPrevious?: boolean; /** props for the previous button */ previousButtonProps?: ButtonProps; /** props for the next button */ nextButtonProps?: ButtonProps; /** Additional class names for the root element. */ className?: string; } export declare function Pagination({ onNext, onPrevious, hasNext, hasPrevious, previousButtonProps, nextButtonProps, className, }: PaginationProps): React.JSX.Element; export declare namespace Pagination { var displayName: string; } //# sourceMappingURL=Pagination.d.ts.map