<ContextMenuListItem />

A context menu list item with a title and click handler

Constructor

# <ContextMenuListItem title onClick disabled />

PropTypes:
Name Type Required Description Default
title string Yes Title text which is shown for the list item
onClick func Yes A callback function when the menu item is clicked
disabled bool No Indicates if the context menu item is clickable false
Since:
  • 0.16.0

View Source ContextMenu/ContextMenuListItem.js, line 11