How to use @instructure/ui-menu - 3 common examples

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 / MenuItemGroup / index.js View on Github external
* SOFTWARE.
 */

import React, { Component } from 'react'

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

import { MenuItemGroup as UIMenuItemGroup } from '@instructure/ui-menu/lib/components/Menu'

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

  render () {
    return 
  }
}

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

import React, { Component } from 'react'

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

import { MenuItemSeparator as UIMenuItemSeparator } from '@instructure/ui-menu/lib/components/Menu'

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

  render () {
    return 
  }
}

export default MenuItemSeparator
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 7 days ago

Package Health Score

84 / 100
Full package analysis