Optional
componentDirect props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.
Optional
disabled?: booleanIndicate if item is disabled
Optional
dismissIndicate if keyboard should be dismissed onPress
Optional
divider?: booleanIndicate that divider should be rendered (does not apply to last item)
Optional
icon?: CarbonIconSet to an icon from Carbon (size 20).
Optional
iconColor of the icon (default is primary text)
Optional
lastIndicates that menu item is final item (this is used internally)
Optional
ononLongPress event
onPress event
Optional
style?: StyleProp<ViewStyle>Style to set on the item
Text to render
Optional
textBreak mode for text. Default is to wrap text
Optional
textText type to render (Standard is default. Normally only body 01 or 02 should be used)
Generated using TypeDoc
Props for MenuItem component