UNPKG

@base-ui/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

19 lines 740 B
import * as React from 'react'; import { BaseUIComponentProps } from "../../utils/types.js"; /** * Groups related items with the corresponding label. * Renders a `<div>` element. */ export declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<ComboboxGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>; export interface ComboboxGroupState {} export interface ComboboxGroupProps extends BaseUIComponentProps<'div', ComboboxGroup.State> { /** * Items to be rendered within this group. * When provided, child `Collection` components will use these items. */ items?: readonly any[] | undefined; } export declare namespace ComboboxGroup { type State = ComboboxGroupState; type Props = ComboboxGroupProps; }