Skip to content

Commit ba4a465

Browse files
committed
[no ci] [Doc] explain how to remove exporter button
1 parent fe1239e commit ba4a465

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/List.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,4 +1019,17 @@ const ProductList = () => (
10191019
...
10201020
</List>
10211021
)
1022+
```
1023+
1024+
## How to remove `<ExportButton>`
1025+
You can remove the `<ExportButton>` by passing false to the exporter prop.
1026+
1027+
```tsx
1028+
import { List } from 'react-admin';
1029+
1030+
const ProductList = () => (
1031+
<List exporter={false}>
1032+
...
1033+
</List>
1034+
)
10221035
```

0 commit comments

Comments
 (0)