import {DealStatusHistorySchema} from "../../../../client";
import {useDealStatusChangeTableColumns} from "./columns.tsx";
import {BaseTable} from "../../../../components/BaseTable/BaseTable.tsx";
import {FC} from "react";

type Props = {
    items: DealStatusHistorySchema[];
}

const DealStatusChangeTable: FC<Props> = (props: Props) => {
    const {items} = props;

    return (
        <BaseTable
            data={items}
            columns={useDealStatusChangeTableColumns()}
            restProps={{
                enableRowActions: false,
                enableColumnActions: false,
                enableSorting: false,
                enableBottomToolbar: false,
                enableColumnFilters: false,
                enableColumnVisibilityToggle: false,
                layoutMode:"grid"
            }}
        />
    );
}
export default DealStatusChangeTable;