@atlaskit/dropdown-menu
Version:
A dropdown menu displays a list of actions or options to a user.
14 lines (13 loc) • 759 B
TypeScript
import React from 'react';
import type { DropdownMenuProps } from './types';
/**
* __Dropdown menu__
*
* A dropdown menu displays a list of actions or options to a user.
*
* - [Examples](https://atlassian.design/components/dropdown-menu/examples)
* - [Code](https://atlassian.design/components/dropdown-menu/code)
* - [Usage](https://atlassian.design/components/dropdown-menu/usage)
*/
declare const DropdownMenu: <T extends HTMLElement = any>({ autoFocus, children, defaultOpen, isLoading, isOpen, onOpenChange, placement, shouldFitContainer, shouldFlip, shouldRenderToParent, returnFocusRef, spacing, statusLabel, testId, trigger, zIndex, label, interactionName, strategy, }: DropdownMenuProps<T>) => React.JSX.Element;
export default DropdownMenu;