import React from "react"; import { Dialog, DialogContent, DialogTitle } from "@mui/material"; export function SharedDialogWrapper(props: { open: boolean; title: string; subTitle: string; handleClose: () => any; children?: any; }) { return ( {props.title}

{props.subTitle}

{props.children}
); }