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

Function PickerSection

packages/@react-spectrum/s2/src/Picker.tsx:870–878  ·  view source on GitHub ↗
(props: PickerSectionProps<T>)

Source from the content-addressed store, hash-verified

868 'style' | 'className' | 'render' | keyof GlobalDOMAttributes
869> {}
870export function PickerSection<T>(props: PickerSectionProps<T>): ReactNode {
871 let {size} = useContext(InternalPickerContext);
872 return (
873 <>
874 <AriaListBoxSection {...props}>{props.children}</AriaListBoxSection>
875 <Divider size={size} />
876 </>
877 );
878}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected