13 lines
462 B
JavaScript
13 lines
462 B
JavaScript
import { Box } from "@mui/material";
|
|
import EditRahdar from "../Actions/Edit";
|
|
import DeleteDialog from "./DeleteDialog";
|
|
const RowActions = ({ row, mutate }) => {
|
|
return (
|
|
<Box sx={{ display: "flex", gap: 1, alignItems: "center" }}>
|
|
<EditRahdar row={row} mutate={mutate} rowId={row.getValue("id")} />
|
|
<DeleteDialog mutate={mutate} rowId={row.getValue("id")} />
|
|
</Box>
|
|
);
|
|
};
|
|
export default RowActions;
|