Skip to content

Commit 2a2b85b

Browse files
M-i-k-e-lethanshar
authored andcommitted
Pass props to onPress in TouchableOpacity (#500)
1 parent f9b1430 commit 2a2b85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/touchableOpacity/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ export default class TouchableOpacity extends PureBaseComponent {
109109
}
110110

111111
onPress() {
112-
_.invoke(this.props, 'onPress');
112+
_.invoke(this.props, 'onPress', this.props);
113113
}
114114
}

0 commit comments

Comments
 (0)