@@ -61,13 +61,13 @@ The props are the same as [the `<List>` component](./List.md):
6161| ` children ` | Required if no render | ` ReactNode ` | - | The component to use to render the list of records. |
6262| ` render ` | Required if no children | ` ReactNode ` | - | A function that render the list of records, receives the list context as argument. |
6363| ` actions ` | Optional | ` ReactElement ` | - | The actions to display in the toolbar. |
64- | ` aside ` | Optional | ` (listContext) => ReactElement ` | - | The component to display on the side of the list. |
64+ | ` aside ` | Optional | ` (listContext) => ReactNode ` | - | The component to display on the side of the list. |
6565| ` authLoading ` | Optional | ` ReactNode ` | - | The component to render while checking for authentication and permissions. |
6666| ` component ` | Optional | ` Component ` | ` Card ` | The component to render as the root element. |
6767| ` debounce ` | Optional | ` number ` | ` 500 ` | The debounce delay in milliseconds to apply when users change the sort or filter parameters. |
6868| ` disable Authentication ` | Optional | ` boolean ` | ` false ` | Set to ` true ` to disable the authentication check. |
6969| ` disable SyncWithLocation ` | Optional | ` boolean ` | ` false ` | Set to ` true ` to disable the synchronization of the list parameters with the URL. |
70- | ` empty ` | Optional | ` ReactElement ` | - | The component to display when the list is empty. |
70+ | ` empty ` | Optional | ` ReactNode ` | - | The component to display when the list is empty. |
7171| ` empty WhileLoading ` | Optional | ` boolean ` | ` false ` | Set to ` true ` to return ` null ` while the list is loading. |
7272| ` error ` | Optional | ` ReactNode ` | - | The component to render when failing to load the list of records. |
7373| ` exporter ` | Optional | ` function ` | - | The function to call to export the list. |
@@ -76,13 +76,13 @@ The props are the same as [the `<List>` component](./List.md):
7676| ` filter DefaultValues ` | Optional | ` object ` | - | The default filter values. |
7777| ` loading ` | Optional | ` ReactNode ` | - | The component to render while loading the list of records. |
7878| ` offline ` | Optional | ` ReactNode ` | ` <Offline> ` | The component to render when there is no connectivity and there is no data in the cache |
79- | ` pagination ` | Optional | ` ReactElement ` | ` <Infinite Pagination> ` | The pagination component to use. |
79+ | ` pagination ` | Optional | ` ReactNode ` | ` <Infinite Pagination> ` | The pagination component to use. |
8080| ` perPage ` | Optional | ` number ` | ` 10 ` | The number of records to fetch per page. |
8181| ` queryOptions ` | Optional | ` object ` | - | The options to pass to the ` useQuery ` hook. |
8282| ` resource ` | Optional | ` string ` | - | The resource name, e.g. ` posts ` . |
8383| ` sort ` | Optional | ` object ` | - | The initial sort parameters. |
8484| ` storeKey ` | Optional | ` string ` | - | The key to use to store the current filter & sort. |
85- | ` title ` | Optional | ` string ` | - | The title to display in the App Bar. |
85+ | ` title ` | Optional | ` ReactNode ` / ` string ` / ` false ` | - | The title to display in the App Bar. |
8686| ` sx ` | Optional | ` object ` | - | The CSS styles to apply to the component. |
8787
8888Check the [ ` <List> ` component] ( ./List.md ) for details about each prop.
0 commit comments