2022-03-29 21:22:26 +02: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',
|
|
|
|
paddingTop: '8px 24px',
|
|
|
|
paddingBottom: '8px 24px',
|
|
|
|
}}>
|
|
|
|
<DialogContentText sx={{
|
|
|
|
margin: '0px',
|
2022-04-01 17:34:53 +02:00
|
|
|
paddingTop: '12px',
|
2022-03-29 21:22:26 +02:00
|
|
|
}}>
|
|
|
|
{props.status}
|
|
|
|
</DialogContentText>
|
|
|
|
<DialogActions>
|
|
|
|
{props.children}
|
|
|
|
</DialogActions>
|
|
|
|
</Box>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default DialogFooter;
|