We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3aca3f commit fe1239eCopy full SHA for fe1239e
docs/List.md
@@ -1006,4 +1006,17 @@ const PostList = () => (
1006
);
1007
```
1008
1009
-The list will automatically update when a new record is created, or an existing record is updated or deleted.
+The list will automatically update when a new record is created, or an existing record is updated or deleted.
1010
+
1011
+## How to render an empty list
1012
+You can set the `empty` props value to `false` to bypass the empty page display and render an empty list instead.
1013
1014
+```tsx
1015
+import { List } from 'react-admin';
1016
1017
+const ProductList = () => (
1018
+ <List empty={false}>
1019
+ ...
1020
+ </List>
1021
+)
1022
+```
0 commit comments