import {Box} from "@mui/material";
import History from "@/components/dashboard/loan-history/Form/HistoryForm";

const TableRow = ({row, mutate}) => {
    return (
        <Box sx={{display: "flex", flexWrap: "nowrap", gap: "8px"}}>
            <History
                rowId={row.getValue("id")}
                vehicle_type={row.original.vehicle_type}
                mutate={mutate}
            />
        </Box>
    );
};

export default TableRow;
