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.

15 lines 1.05 kB
import * as React from 'react'; import { ComboboxStore } from "../store.js"; export interface ComboboxDerivedItemsContext { query: string; filteredItems: any[]; flatFilteredItems: any[]; } export declare const ComboboxRootContext: React.Context<ComboboxStore | undefined>; export declare const ComboboxFloatingContext: React.Context<import("../../floating-ui-react/components/FloatingRootStore.js").FloatingRootStore | undefined>; export declare const ComboboxDerivedItemsContext: React.Context<ComboboxDerivedItemsContext | undefined>; export declare const ComboboxInputValueContext: React.Context<string | number | readonly string[] | undefined>; export declare function useComboboxRootContext(): ComboboxStore; export declare function useComboboxFloatingContext(): import("../../floating-ui-react/components/FloatingRootStore.js").FloatingRootStore; export declare function useComboboxDerivedItemsContext(): ComboboxDerivedItemsContext; export declare function useComboboxInputValueContext(): string | number | readonly string[] | undefined;