@szhsin/react-menu
Advanced tools
Comparing version 4.0.0-alpha.1 to 4.0.0-alpha.2
{ | ||
"name": "@szhsin/react-menu", | ||
"version": "4.0.0-alpha.1", | ||
"version": "4.0.0-alpha.2", | ||
"description": "React component for building accessible menu, dropdown, submenu, context menu and more.", | ||
@@ -5,0 +5,0 @@ "author": "Zheng Song", |
@@ -16,3 +16,3 @@ # React-Menu | ||
- Unlimited levels of submenu. | ||
- Supports dropdown or context menu. | ||
- Supports dropdown, hover, and context menu. | ||
- Supports radio and checkbox menu items. | ||
@@ -23,3 +23,3 @@ - Flexible menu positioning. | ||
- [Optimal level support](https://github.com/reactwg/react-18/discussions/70) (level 3) of **React 18** concurrent rendering. | ||
- Works in major browsers without polyfills. | ||
- Supports server-side rendering. | ||
- [WAI-ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/patterns/menu/) compliant. | ||
@@ -64,9 +64,6 @@ | ||
**[Visit more examples and docs](https://szhsin.github.io/react-menu/)**<br><br> | ||
[Migration from v2 to v3](https://github.com/szhsin/react-menu/wiki/Migration-from-v2-to-v3)<br> | ||
[Migration from v1 to v2](https://github.com/szhsin/react-menu/wiki/Migration-from-v1-to-v2) | ||
Still on older versions? Please checkout our [migration guides](docs/migration/index.md).<br> | ||
_Please note that React-Menu v3 requires React 16.14.0 or higher. If you are not able to upgrade React, you could install v2/v1 which requires React 16.8.0._ | ||
## License | ||
[MIT](https://github.com/szhsin/react-menu/blob/master/LICENSE) Licensed. |
@@ -173,3 +173,2 @@ import React = require('react'); | ||
disabled?: boolean; | ||
index?: number; | ||
} | ||
@@ -176,0 +175,0 @@ |
161780
5172
67