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

Function ComboBox

starters/hooks/src/ComboBox.tsx:32–38  ·  view source on GitHub ↗
(props: ComboBoxProps)

Source from the content-addressed store, hash-verified

30export type ComboBoxProps = StatelyComboBoxProps<object> & {label?: ReactNode};
31
32export function ComboBox(props: ComboBoxProps) {
33 return (
34 <CollectionBuilder content={<Collection {...props} />}>
35 {collection => <ComboBoxInner {...props} collection={collection} />}
36 </CollectionBuilder>
37 );
38}
39
40function ComboBoxInner({
41 collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected