DropdownMenu | DropdownMenuLabel
DropdownMenuLabel#
Description#
- Section title for grouping items within the dropdown menu.
- Not an interactive option: uses
role="presentation"and yields itsidto the menu foraria-labelledby.
Props#
- No props accepted: it is a static text component.
Usage#
| |
Notes#
- The label text is announced as the menu name when opened.
- On unmount, it cleans the menu’s
aria-labelledbyreference.