mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-03 10:24:14 +01:00
29 lines
815 B
JavaScript
29 lines
815 B
JavaScript
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',
|
|
paddingTop: '12px',
|
|
}}>
|
|
{props.status}
|
|
</DialogContentText>
|
|
<DialogActions>
|
|
{props.children}
|
|
</DialogActions>
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default DialogFooter;
|