16 lines
503 B
JavaScript
16 lines
503 B
JavaScript
import { Box } from "@mui/material";
|
|
import RegisterAction from "../Form/registerAction";
|
|
import ReferList from "./ReferList";
|
|
import Refer from "./Refer";
|
|
|
|
const RowActions = ({ row, mutate }) => {
|
|
return (
|
|
<Box sx={{ display: "flex", gap: 1 }}>
|
|
<RegisterAction mutate={mutate} rowId={row.getValue("id")} />
|
|
<Refer rowId={row.getValue("id")} mutate={mutate} />
|
|
<ReferList rowId={row.getValue("id")} />
|
|
</Box>
|
|
);
|
|
};
|
|
export default RowActions;
|