Files
Frontend/src/components/dashboard/expert-management/TableRowActions.jsx
2023-10-21 15:51:57 +03:30

25 lines
645 B
JavaScript

import {Box} from "@mui/material";
import Update from "./Form/UpdateForm"
import Delete from "./Form/DeleteForm";
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;