2022-03-29 21:22:26 +02:00
|
|
|
import * as React from "react";
|
2023-05-24 12:25:20 +02:00
|
|
|
import { Box, DialogContentText, DialogActions } from "@mui/material";
|
2022-03-29 21:22:26 +02:00
|
|
|
|
2023-05-24 09:03:28 +02:00
|
|
|
const DialogFooter = (props) => (
|
|
|
|
<Box
|
|
|
|
sx={{
|
|
|
|
display: "flex",
|
|
|
|
flexDirection: "row",
|
|
|
|
justifyContent: "space-between",
|
|
|
|
paddingLeft: "24px",
|
|
|
|
paddingBottom: "8px",
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<DialogContentText
|
|
|
|
component="div"
|
|
|
|
aria-live="polite"
|
2023-05-23 21:13:01 +02:00
|
|
|
sx={{
|
2023-05-24 09:03:28 +02:00
|
|
|
margin: "0px",
|
|
|
|
paddingTop: "12px",
|
|
|
|
paddingBottom: "4px",
|
2023-05-23 21:13:01 +02:00
|
|
|
}}
|
|
|
|
>
|
2023-05-24 09:03:28 +02:00
|
|
|
{props.status}
|
|
|
|
</DialogContentText>
|
|
|
|
<DialogActions sx={{ paddingRight: 2 }}>{props.children}</DialogActions>
|
|
|
|
</Box>
|
|
|
|
);
|
2022-03-29 21:22:26 +02:00
|
|
|
|
|
|
|
export default DialogFooter;
|