Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion next-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
### Features

### Bug Fixes and Improvements
- Added some documentation on the data structure required by a StaticDataProvider.

### Other Changes
-->
-->
2 changes: 2 additions & 0 deletions packages/docs/docs/guides/uncontrolled-environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ function App() {
}
```

Note that for each item in the data structure representing the tree (`items` in this case), each object must have a field named `index` that has the same value as the key for that object. The `children` array can only refer to these values as well.

## Component Props

The props for the `UncontrolledTreeEnvironment` are as follows:
Expand Down