alarm service

This commit is contained in:
Muhammad Fajar
2022-11-29 15:22:46 +07:00
parent 1f5695cf6a
commit e83a6784f3
4 changed files with 181 additions and 365 deletions

View 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>
);
}