/* ---------------------------------- @mui ---------------------------------- */
import { TablePagination, TablePaginationProps } from '@mui/material';
import { Box } from '@mui/system';

export default function BaseTablePagination({
  count,
  onPageChange,
  page,
  rowsPerPage,
  onRowsPerPageChange,
}: TablePaginationProps) {
  return (
    <Box>
      <TablePagination
        component="div"
        rowsPerPageOptions={[10, 25]}
        count={count}
        page={page}
        onPageChange={onPageChange}
        rowsPerPage={rowsPerPage}
        onRowsPerPageChange={onRowsPerPageChange}
      />
    </Box>
  );
}
