Skip to content

Commit 4da0ee8

Browse files
Chore: Use ReactNode instead of ReactElement where applicable
1 parent 491e44d commit 4da0ee8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/Datagrid.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ Both are [Enterprise Edition](https://react-admin-ee.marmelab.com) components.
5454
| `body` | Optional | `ReactNode` | `<Datagrid Body>` | The component used to render the body of the table. |
5555
| `bulkActionButtons` | Optional | `ReactNode` | `<BulkDelete Button>` | The component used to render the bulk action buttons. |
5656
| `empty` | Optional | `ReactNode` | `<Empty>` | The component used to render the empty table. |
57+
<<<<<<< HEAD
5758
| `expand` | Optional | `ReactNode` | | The component used to render the expand panel for each row. |
59+
=======
60+
| `expand` | Optional | `ReactElement` | | The component used to render the expand panel for each row. |
61+
>>>>>>> b718465c2 (Chore: Use ReactNode instead of ReactElement where applicable)
5862
| `expandSingle` | Optional | Boolean | `false` | Whether to allow only one expanded row at a time. |
5963
| `header` | Optional | `ReactNode` | `<Datagrid Header>` | The component used to render the table header. |
6064
| `hover` | Optional | Boolean | `true` | Whether to highlight the row under the mouse. |

0 commit comments

Comments
 (0)