1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-03 18:34:15 +01:00
ntfy/web/src/components/DialogFooter.js

34 lines
946 B
JavaScript
Raw Normal View History

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',
2022-04-04 01:51:32 +02:00
paddingBottom: '8px',
2022-03-29 21:22:26 +02:00
}}>
2022-05-03 21:09:20 +02:00
<DialogContentText
component="div"
aria-live="polite"
sx={{
margin: '0px',
paddingTop: '12px',
paddingBottom: '4px'
}}
>
2022-03-29 21:22:26 +02:00
{props.status}
</DialogContentText>
2022-04-04 01:51:32 +02:00
<DialogActions sx={{paddingRight: 2}}>
2022-03-29 21:22:26 +02:00
{props.children}
</DialogActions>
</Box>
);
};
export default DialogFooter;