JSPM

react-win32-menu

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q17309F
  • License MIT

React components resembling Win32 desktop menus

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

NPM Version NPM Downloads NPM License

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;