import { Box } from "@mui/material";
import Delete from "./Delete";
import UpdateUser from "./Edit";
const RowActions = ({ row, mutate }) => {
  return (
    <Box sx={{ display: "flex", gap: 1, alignItems: "center" }}>
      <Delete rowId={row.original.id} mutate={mutate} />
      <UpdateUser values={row.original} mutate={mutate} />
    </Box>
  );
};
export default RowActions;
