UNPKG

@atlaskit/dropdown-menu

Version:

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

19 lines (18 loc) 555 B
import React from 'react'; /** * __Group title__ * * Used to visually represent the title for DropdownMenu groups. * * Pre-existing a11y note: uses `role="menuitem"` with `aria-hidden="true"`. * WAI-ARIA APG recommends `role="presentation"` for non-interactive group * headings, with the group linked via `aria-labelledby`. Out of scope for * the top-layer migration — this is legacy behavior. * * @internal */ declare const GroupTitle: ({ id, title }: { id: string; title: string; }) => React.JSX.Element; export default GroupTitle;