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