ntfy/web/src/components/DialogFooter.jsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
654 B
React
Raw Normal View History

2022-03-30 08:22:26 +13:00
import * as React from "react";
import { Box, DialogContentText, DialogActions } from "@mui/material";
2022-03-30 08:22:26 +13:00
const DialogFooter = (props) => (
<Box
2023-05-24 19:03:28 +12:00
sx={{
2022-03-30 08:22:26 +13:00
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
paddingLeft: "24px",
2022-04-04 11:51:32 +12:00
paddingBottom: "8px",
2023-05-24 19:03:28 +12:00
}}
>
2022-05-04 07:09:20 +12:00
<DialogContentText
component="div"
aria-live="polite"
2022-03-30 08:22:26 +13:00
sx={{
margin: "0px",
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 }}>{props.children}</DialogActions>
2022-03-30 08:22:26 +13:00
</Box>
);
export default DialogFooter;