From 23373e67bc25996865c6b9272d6800c788b5fc8e Mon Sep 17 00:00:00 2001 From: asvarcas Date: Thu, 3 Jun 2021 00:38:37 -0300 Subject: [PATCH] Improve documentation --- docs/List.md | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/docs/List.md b/docs/List.md index 9f0fe68d8cd..f19f20ab2a1 100644 --- a/docs/List.md +++ b/docs/List.md @@ -136,39 +136,17 @@ import IconEvent from '@material-ui/icons/Event'; const ListActions = (props) => { const { className, - exporter, - filters, maxResults, ...rest } = props; const { - currentSort, - resource, - displayedFilters, - filterValues, - hasCreate, - basePath, - selectedIds, - showFilter, total, } = useListContext(); return ( - {filters && cloneElement(filters, { - resource, - showFilter, - displayedFilters, - filterValues, - context: 'button', - })} - - + {cloneElement(filters, { context: 'button' })} + + {/* Add your custom actions */}