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

Function Select

starters/hooks/src/Select.tsx:33–39  ·  view source on GitHub ↗
(props: SelectProps)

Source from the content-addressed store, hash-verified

31export type SelectProps = StatelySelectProps<object> & {label?: ReactNode};
32
33export function Select(props: SelectProps) {
34 return (
35 <CollectionBuilder content={<Collection {...props} />}>
36 {collection => <SelectInner {...props} collection={collection} />}
37 </CollectionBuilder>
38 );
39}
40
41function SelectInner({
42 collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected