Skip to content

Commit 7fedbca

Browse files
committed
Fix RecordsIterator documentation.
1 parent 95369d4 commit 7fedbca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/RecordsIterator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ const MostVisitedPosts = () => (
8989
| Prop | Required | Type | Default | Description |
9090
| ----------- |-------------|-----------------------------------| ------- | ---------------------------------------------------------------------------------------------------- |
9191
| `children` | Optional`*` | `ReactNode` | - | The content to render for each record |
92-
| `data` | Optional`*` | `RaRecord[]` | - | The records. Defaults to the `data` from the [`ListContext`](./useListContext.md) |
92+
| `data` | Optional | `RaRecord[]` | - | The records. Defaults to the `data` from the [`ListContext`](./useListContext.md) |
9393
| `isPending` | Optional | `boolean` | - | A boolean indicating whether the data is pending. Defaults to the `isPending` from the [`ListContext`](./useListContext.md) |
94-
| `render` | Optional | `(record: RaRecord) => ReactNode` | - | A function that returns the content to render for each record |
94+
| `render` | Optional`*` | `(record: RaRecord) => ReactNode` | - | A function that returns the content to render for each record |
9595
| `total` | Optional | `number` | - | The total number of records. Defaults to the `total` from the [`ListContext`](./useListContext.md) |
9696

9797
`*` Either `children` or `render` is required.

0 commit comments

Comments
 (0)