@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.
21 lines • 830 B
TypeScript
import * as React from 'react';
import { BaseUIComponentProps } from "../../internals/types.js";
/**
* Groups related items with the corresponding label.
* Renders a `<div>` element.
*
* Documentation: [Base UI Combobox](https://base-ui.com/react/components/combobox)
*/
export declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<ComboboxGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
export interface ComboboxGroupState {}
export interface ComboboxGroupProps extends BaseUIComponentProps<'div', ComboboxGroupState> {
/**
* 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;
}