feat: useForeground if possible in stack header backButton

This commit is contained in:
Michal Osadnik
2019-09-22 01:28:38 +02:00
parent ac383821bf
commit d27b30bbdc

View File

@@ -52,6 +52,7 @@ export default class TouchableItem extends React.Component<Props> {
return (
<TouchableNativeFeedback
{...rest}
useForeground={TouchableNativeFeedback.canUseNativeForeground()}
background={TouchableNativeFeedback.Ripple(pressColor, borderless)}
>
<View style={style}>{React.Children.only(children)}</View>