Package Exports
- react-win32-menu
- react-win32-menu/dist/index.esm.js
- react-win32-menu/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-win32-menu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-win32-menu
React components resembling Win32 desktop menus
Installation
npm install react-win32-menu --save
Usage
Check out the Package Storybook for the full documentation, API, and more examples.
import { Win32MenuBar, MenuItem, RootMenu, SubMenu } from "react-win32-menu";
function ExampleMenuBar() {
return (
<Win32MenuBar>
<RootMenu label="label">
<MenuItem label="label" />
<MenuItem label="label" />
<SubMenu label="label">
<MenuItem label="label" />
<MenuItem label="label" />
<MenuItem label="label" />
</SubMenu>
</RootMenu>
</Win32MenuBar>
);
}
export default ExampleMenuBar;