import { Dialog } from "@mui/material";
import GashtCreateContent from "./GashtCreateContent";
import { useState } from "react";

const GashtCreate = ({ open, setOpen, mutate, rowId }) => {
    const [tabState, setTabState] = useState(0);
    return (
        <Dialog open={open} fullWidth maxWidth={tabState === 0 ? "md" : "sm"}>
            <GashtCreateContent mutate={mutate} setOpen={setOpen} setTabState={setTabState} tabState={tabState} />
        </Dialog>
    );
};
export default GashtCreate;
