@base-ui-components/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 • 715 B
TypeScript
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<ComboboxGroupProps & 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[];
}
export declare namespace ComboboxGroup {
type State = ComboboxGroupState;
type Props = ComboboxGroupProps;
}