UNPKG

437 BTypeScriptView Raw
1import type { DropdownContextValue } from './DropdownContext';
2import { UseDropdownParameters } from './useDropdown.types';
3/**
4 *
5 * Demos:
6 *
7 * - [Menu](https://mui.com/base-ui/react-menu/#hooks)
8 *
9 * API:
10 *
11 * - [useDropdown API](https://mui.com/base-ui/react-menu/hooks-api/#use-dropdown)
12 */
13export declare function useDropdown(parameters?: UseDropdownParameters): {
14 contextValue: DropdownContextValue;
15 open: boolean;
16};