@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.
12 lines • 498 B
TypeScript
import * as React from 'react';
export interface ComboboxGroupContext {
labelId: string | undefined;
setLabelId: React.Dispatch<React.SetStateAction<string | undefined>>;
/**
* Optional list of items that belong to this group. Used by nested
* collections to render group-specific items.
*/
items?: readonly any[];
}
export declare const ComboboxGroupContext: React.Context<ComboboxGroupContext | undefined>;
export declare function useComboboxGroupContext(): ComboboxGroupContext;