UNPKG

@teravn/onui

Version:

The React UI component library is based on MUI

11 lines (10 loc) 522 B
import React from 'react'; import { TablePaginationProps, PaginationProps } from '@mui/material'; type OnPaginationBaseProps = Pick<TablePaginationProps, 'labelDisplayedRows' | 'onRowsPerPageChange' | 'rowsPerPage' | 'page' | 'onPageChange' | 'count' | 'labelRowsPerPage' | 'rowsPerPageOptions' | 'className'> & { showAction?: boolean; renderItem?: PaginationProps['renderItem']; }; export interface Props extends OnPaginationBaseProps { } declare const OnPagination: React.FC<Props>; export default OnPagination;