Open
Description
🙋 Documentation Request
In the useSelect
examples, the ListBox is given a state
prop. This is different than the example in useListBox
, which uses useListState
internally to build the state.
The docs don't make it clear how the two examples can be shared, just that
The ListBox and Option components are used to show the list of options. They can also be shared with other components like a ComboBox. See useListBox for more examples, including sections and more complex items.
It would be great to update the docs to include this information.