import {Box} from "@mui/material";
import Update from "./Form/UpdateForm";

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

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

export default TableRowActions;
