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

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

        </Box>
    );
};

export default TableRowActions;
