import { Dialog } from "@mui/material";
import CreateFormContent from "./CreateFormContent";

const CreateForm = ({ open, setOpen, mutate }) => {
    return (
        <Dialog open={open} fullWidth maxWidth="xs">
            {open && <CreateFormContent setOpen={setOpen} mutate={mutate} />}
        </Dialog>
    );
};
export default CreateForm;
