fix: tweak hitSlop on bottom tab bar buttons

This commit is contained in:
Brent Vatne
2018-10-31 16:26:02 -07:00
parent 53f03ad9ac
commit f86fe1ce7f

View File

@@ -56,6 +56,7 @@ class TouchableWithoutFeedbackWrapper extends React.Component<*> {
<TouchableWithoutFeedback
onPress={onPress}
testID={testID}
hitSlop={{ left: 15, right: 15, top: 5, bottom: 5 }}
accessibilityLabel={accessibilityLabel}
>
<View {...props} />