Back to React Native Paper

Menu.Item

docs/public/2.0/menu-item.html

5.15.1512 B
Original Source

Menu.Item

A component to show a single list item inside a Menu.

Props

title (required) Type: React.Node

Title text for the MenuItem.

icon Type: IconSource

Icon to display for the MenuItem.

disabled Type: boolean

Whether the 'item' is disabled. A disabled 'item' is greyed out and onPress is not called on touch.

onPress Type: () => mixed

Function to execute on press.

theme Type: Theme

style Type: any