alarm service
This commit is contained in:
24
frontend/client-portal/src/components/TablePagination.tsx
Executable file
24
frontend/client-portal/src/components/TablePagination.tsx
Executable file
@@ -0,0 +1,24 @@
|
||||
/* ---------------------------------- @mui ---------------------------------- */
|
||||
import { TablePagination, TablePaginationProps } from '@mui/material';
|
||||
import { Box } from '@mui/system';
|
||||
|
||||
export default function BaseTablePagination({
|
||||
count,
|
||||
onPageChange,
|
||||
page,
|
||||
rowsPerPage,
|
||||
onRowsPerPageChange,
|
||||
}: TablePaginationProps) {
|
||||
return (
|
||||
<Box sx={{ m: 2 }} display="flex" justifyContent="flex-end">
|
||||
<TablePagination
|
||||
component="div"
|
||||
count={count}
|
||||
page={page}
|
||||
onPageChange={onPageChange}
|
||||
rowsPerPage={rowsPerPage}
|
||||
onRowsPerPageChange={onRowsPerPageChange}
|
||||
/>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user