import {Box} from "@mui/material";
import ConfirmForm from "./Form/ConfirmForm"
import RejectForm from "./Form/RejectForm"
import ReviseForm from "./Form/ReviseForm"

const TableRow = ({row, mutate, fetchUrl}) => {

    return (
        <Box sx={{display: "flex", flexWrap: "nowrap", gap: "8px"}}>
            <ConfirmForm
                rowId={row.getValue("id")}
                mutate={mutate}
                fetchUrl={fetchUrl}
            />
            <RejectForm
                rowId={row.getValue("id")}
                fetchUrl={fetchUrl}
                mutate={mutate}
            />
            <ReviseForm
                rowId={row.getValue("id")}
                fetchUrl={fetchUrl}
                mutate={mutate}
            />
        </Box>
    );
};

export default TableRow;
