import ThumbUpIcon from "@mui/icons-material/ThumbUp";
import { IconButton, Tooltip } from "@mui/material";
import { useState } from "react";

const ConfirmAction = ({ rowId, mutate }) => {
    const [openConfirmDialog, setOpenConfirmDialog] = useState(false);
    return (
        <>
            <Tooltip title="تایید اقدام">
                <IconButton color="success" onClick={() => setOpenConfirmDialog(true)}>
                    <ThumbUpIcon />
                </IconButton>
            </Tooltip>
        </>
    );
};
export default ConfirmAction;
