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

Function ListBox

starters/docs/src/ListBox.tsx:19–21  ·  view source on GitHub ↗
({children, ...props}: ListBoxProps<T>)

Source from the content-addressed store, hash-verified

17import './ListBox.css';
18
19export function ListBox<T>({children, ...props}: ListBoxProps<T>) {
20 return <AriaListBox {...props}>{children}</AriaListBox>;
21}
22
23export function ListBoxItem(props: ListBoxItemProps) {
24 let textValue =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected