enable custom tollbar
This commit is contained in:
@@ -134,7 +134,7 @@ function DataTable(props) {
|
||||
renderTopToolbarCustomActions={({table}) => (
|
||||
<>
|
||||
{props.enableCustomToolbar /* send condition */
|
||||
? props.CustomToolbar /* send component */
|
||||
? <props.CustomToolbar fetchUrl={fetchUrl} mutate={mutate}/> /* send component */
|
||||
: ""}
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user