import {Box} from "@mui/material";
import UpdateForm from "@/components/dashboard/role-management/Form/UpdateForm";
import DeleteForm from "@/components/dashboard/role-management/Form/DeleteForm";


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

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

export default TableRowActions;
