2022-03-30 08:22:26 +13:00
|
|
|
import * as React from "react";
|
|
|
|
import Box from "@mui/material/Box";
|
|
|
|
import DialogContentText from "@mui/material/DialogContentText";
|
|
|
|
import DialogActions from "@mui/material/DialogActions";
|
|
|
|
|
|
|
|
const DialogFooter = (props) => {
|
|
|
|
return (
|
|
|
|
<Box sx={{
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
paddingLeft: '24px',
|
2022-04-04 11:51:32 +12:00
|
|
|
paddingBottom: '8px',
|
2022-03-30 08:22:26 +13:00
|
|
|
}}>
|
2022-04-04 11:51:32 +12:00
|
|
|
<DialogContentText component="div" sx={{
|
2022-03-30 08:22:26 +13:00
|
|
|
margin: '0px',
|
2022-04-02 04:34:53 +13:00
|
|
|
paddingTop: '12px',
|
2022-04-04 11:51:32 +12:00
|
|
|
paddingBottom: '4px'
|
2022-03-30 08:22:26 +13:00
|
|
|
}}>
|
|
|
|
{props.status}
|
|
|
|
</DialogContentText>
|
2022-04-04 11:51:32 +12:00
|
|
|
<DialogActions sx={{paddingRight: 2}}>
|
2022-03-30 08:22:26 +13:00
|
|
|
{props.children}
|
|
|
|
</DialogActions>
|
|
|
|
</Box>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default DialogFooter;
|