v5.1.0
New features
- Supports specifying a different role for
MenuItemcomponent. This makes it possible to usemenuitemcheckboxormenuitemradio. If you use one of these, please don't forget to add the attributearia-checkedas well, such as:
<MenuItem role="menuitemcheckbox" attributes={{ "aria-checked": true }}>Item</MenuItem>And style it accordingly.
Internal
Changed some dev dependencies.