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

Function ComboBoxSection

packages/@react-spectrum/s2/src/ComboBox.tsx:526–534  ·  view source on GitHub ↗
(props: ComboBoxSectionProps<T>)

Source from the content-addressed store, hash-verified

524 'style' | 'className' | 'render' | keyof GlobalDOMAttributes
525> {}
526export function ComboBoxSection<T>(props: ComboBoxSectionProps<T>): ReactNode {
527 let {size} = useContext(InternalComboboxContext);
528 return (
529 <>
530 <AriaListBoxSection {...props}>{props.children}</AriaListBoxSection>
531 <Divider size={size} />
532 </>
533 );
534}
535
536const ComboboxInner = forwardRef(function ComboboxInner(
537 props: ComboBoxProps<any> & {isOpen: boolean},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected