JSPM

@instructure/ui-menu

7.11.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16240
  • Score
    100M100P100Q139041F
  • License MIT

A dropdown menu component

Package Exports

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

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

A dropdown menu component.

Components

The ui-menu package contains the following:

Installation

yarn add @instructure/ui-menu

Usage

import React from 'react'
import { Menu } from '@instructure/ui-menu'

const MyMenu = () => {
  return (
    <Menu>
      <Menu.Item value="foo">Foo</Menu.Item>
      <Menu.Item value="bar">Bar</Menu.Item>
    </Menu>
  )
}