UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

27 lines (23 loc) 1.05 kB
import * as React from 'react'; import { IconButtonProps } from '../IconButton/IconButton'; export interface TablePaginationActionsProps extends React.HTMLAttributes<HTMLDivElement> { backIconButtonProps?: Partial<IconButtonProps>; count: number; /** * Accepts a function which returns a string value that provides a user-friendly name for the current page. * * For localization purposes, you can use the provided [translations](/guides/localization/). * * @param {string} type The link or button type to format ('first' | 'last' | 'next' | 'previous'). * @returns {string} */ getItemAriaLabel: (type: 'first' | 'last' | 'next' | 'previous') => string; nextIconButtonProps?: Partial<IconButtonProps>; onChangePage: (event: React.MouseEvent<HTMLButtonElement> | null, page: number) => void; page: number; rowsPerPage: number; showFirstButton: boolean; showLastButton: boolean; } declare const TablePaginationActions: React.ComponentType<TablePaginationActionsProps>; export default TablePaginationActions;