UNPKG

@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.

8 lines 441 B
import * as React from 'react'; export interface ComboboxChipsContext { highlightedChipIndex: number | undefined; setHighlightedChipIndex: React.Dispatch<React.SetStateAction<number | undefined>>; chipsRef: React.RefObject<Array<HTMLButtonElement | null>>; } export declare const ComboboxChipsContext: React.Context<ComboboxChipsContext | undefined>; export declare function useComboboxChipsContext(): ComboboxChipsContext | undefined;