How to use the @instructure/ui-menu/lib/components/Menu.PropTypes function in @instructure/ui-menu

To help you get started, we’ve selected a few @instructure/ui-menu examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github instructure / instructure-ui / packages / ui-core / src / components / Menu / index.js View on Github external
* SOFTWARE.
 */

import React, { Component } from 'react'

import deprecated, { changedPackageWarning } from '@instructure/ui-utils/lib/react/deprecated'

import UIMenu from '@instructure/ui-menu/lib/components/Menu'

@deprecated('5.0.0', null, changedPackageWarning(
  'ui-core',
  'ui-menu'
))
class Menu extends Component {
  static propTypes = {
    ...UIMenu.PropTypes
  }

  render () {
    return 
  }
}

export default Menu
export { default as MenuItem } from './MenuItem'
export { default as MenuItemGroup } from './MenuItemGroup'
export { default as MenuItemSeparator } from './MenuItemSeparator'
export { default as MenuItemFlyout } from './MenuItemFlyout'

@instructure/ui-menu

A dropdown menu component

MIT
Latest version published 2 days ago

Package Health Score

84 / 100
Full package analysis