({props, listBoxRef, collection})
| 223 | }); |
| 224 | |
| 225 | function StandaloneListBox({props, listBoxRef, collection}) { |
| 226 | props = {...props, collection, children: null, items: null}; |
| 227 | let {layoutDelegate} = useContext(CollectionRendererContext); |
| 228 | let state = useListState({...props, layoutDelegate}); |
| 229 | return <ListBoxInner state={state} props={props} listBoxRef={listBoxRef} />; |
| 230 | } |
| 231 | |
| 232 | interface ListBoxInnerProps<T> { |
| 233 | state: ListState<T>; |
nothing calls this directly
no test coverage detected