MCPcopy Create free account
hub / github.com/adobe/react-spectrum / ListBox

Function ListBox

starters/hooks/src/ListBox.tsx:52–58  ·  view source on GitHub ↗
(props: ListBoxProps)

Source from the content-addressed store, hash-verified

50export type ListBoxProps = AriaListBoxOptions<object> & ListProps<object>;
51
52export function ListBox(props: ListBoxProps) {
53 return (
54 <CollectionBuilder content={<Collection {...props} />}>
55 {collection => <ListBoxInner {...props} collection={collection} />}
56 </CollectionBuilder>
57 );
58}
59
60function ListBoxInner({
61 collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected