Feature/gasht rahdari
This commit is contained in:
@@ -115,7 +115,9 @@ const DataTable_Main = (props) => {
|
||||
onPaginationChange: setPagination,
|
||||
onSortingChange: onSortingChange,
|
||||
rowCount: totalRowCount,
|
||||
renderTopToolbarCustomActions: ({ table }) => <>{TableToolbar && <TableToolbar mutate={mutate} />}</>,
|
||||
renderTopToolbarCustomActions: ({ table }) => (
|
||||
<>{TableToolbar && <TableToolbar table={table} mutate={mutate} filterData={filterData} />}</>
|
||||
),
|
||||
renderRowActions: ({ row }) => <RowActions row={row} mutate={mutate} />,
|
||||
...props,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user