JSPM

@instructure/ui-menu

5.37.0-rc.9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16240
  • Score
    100M100P100Q139053F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

  • @instructure/ui-menu
  • @instructure/ui-menu/lib/components/Menu
  • @instructure/ui-menu/lib/components/Menu/MenuItem

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 (@instructure/ui-menu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-menu

npm build-status MIT License Code of Conduct

Installation

yarn add @instructure/ui-menu

Usage

import React from 'react'
import Menu, { MenuItem } from '@instructure/ui-menu/lib/components/Menu'

export default MyMenu = function () {
  return (
    <Menu>
      <MenuItem value="foo">Foo</MenuItem>
      <MenuItem value="bar">Bar</MenuItem>
    </Menu>
  )
}

Components

The ui-menu package contains the following:

Contribute

See the contributing guidelines for details.

License