diff --git a/src/MenuItem.js b/src/MenuItem.js
index 5bf0a94..0bdbe2f 100644
--- a/src/MenuItem.js
+++ b/src/MenuItem.js
@@ -1,7 +1,19 @@
import React from 'react';
import PropTypes from 'prop-types';
-import { Platform, StyleSheet, Text, TouchableHighlight } from 'react-native';
+import {
+ Platform,
+ StyleSheet,
+ Text,
+ TouchableHighlight,
+ TouchableNativeFeedback,
+ View,
+} from 'react-native';
+
+const Touchable = Platform.select({
+ android: TouchableNativeFeedback,
+ default: TouchableHighlight,
+});
function MenuItem({
children,
@@ -10,29 +22,34 @@ function MenuItem({
onPress,
style,
textStyle,
- underlayColor,
...props
}) {
+ const touchableProps = Platform.select({
+ android: { background: TouchableNativeFeedback.SelectableBackground() },
+ default: {},
+ });
+
return (
-
-
- {children}
-
-
+
+
+ {children}
+
+
+
);
}