import { Box } from "@mui/material";
import ConfirmAction from "./ConfirmAction";
import RejectAction from "./RejectAction";
import History from "./History";

const RowActions = ({ row, mutate }) => {
    // const stateId = row.original.state_id;
    //
    // const disabled = {
    //     referral: stateId !== 2,
    //     reject: stateId !== 2 && stateId !== 5,
    //     confirm: stateId !== 2 && stateId !== 5 && stateId !== 13,
    // };
    return (
        <Box sx={{ display: "flex", gap: 1, justifyContent: "Center" }}>
            <RejectAction />
            <ConfirmAction />
            <History rowId={row.original.id} />
        </Box>
    );
};
export default RowActions;
