UNPKG

@atlaskit/dropdown-menu

Version:

A dropdown menu displays a list of actions or options to a user.

13 lines (12 loc) 410 B
import React from 'react'; import { type FocusableElementRef } from '../../types'; /** * __Focus manager context__ * * A context that stores dropdown menu item refs and provides a way to register * them for focus management within the dropdown menu. */ export declare const FocusManagerContext: React.Context<{ menuItemRefs: FocusableElementRef[]; registerRef(ref: FocusableElementRef): void; }>;