Package Exports
- @instructure/ui-menu
- @instructure/ui-menu/es/index.js
- @instructure/ui-menu/lib/Menu
- @instructure/ui-menu/lib/Menu/index.js
- @instructure/ui-menu/lib/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 (@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
A dropdown menu component.
Components
The ui-menu package contains the following:
Installation
yarn add @instructure/ui-menuUsage
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>
)
}