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

Function ListBox

packages/@react-spectrum/s2/src/ListBox.tsx:21–23  ·  view source on GitHub ↗
({children, ...props}: ListBoxProps<T>)

Source from the content-addressed store, hash-verified

19import {ReactNode} from 'react';
20
21export function ListBox<T>({children, ...props}: ListBoxProps<T>): ReactNode {
22 return <AriaListBox {...props}>{children}</AriaListBox>;
23}
24
25export function ListBoxItem(props: ListBoxItemProps): ReactNode {
26 return <AriaListBoxItem {...props} />;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected