mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
rely on defaultProps in TouchableItem (#3374)
This commit is contained in:
parent
dca37627a2
commit
088e9e82ad
@ -42,8 +42,8 @@ export default class TouchableItem extends React.Component {
|
||||
{...rest}
|
||||
style={null}
|
||||
background={TouchableNativeFeedback.Ripple(
|
||||
this.props.pressColor || '',
|
||||
this.props.borderless || false
|
||||
this.props.pressColor,
|
||||
this.props.borderless
|
||||
)}
|
||||
>
|
||||
<View style={style}>{React.Children.only(this.props.children)}</View>
|
||||
|
Loading…
x
Reference in New Issue
Block a user