Browse files

Docs: Update TouchableWithoutFeedback.js

Add description for onPressIn and onPressOut.

Here is the snack to illustrate it.

Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at to learn more about contributing to React Native.

Happy contributing!
Closes #15045

Differential Revision: D5434900

Pulled By: hramos

fbshipit-source-id: b235c3649e63b0bd149b0a65e439cd2433b01b8a
  • Loading branch information...
tspanindra authored and facebook-github-bot committed Jul 18, 2017
1 parent 9c2ce53 commit 8f36405380258926e19ad7004bd2b37de7f67f0b
Showing with 8 additions and 1 deletion.
  1. +8 −1 Libraries/Components/Touchable/TouchableWithoutFeedback.js
@@ -59,8 +59,15 @@ const TouchableWithoutFeedback = createReactClass({
* that steals the responder lock).
onPress: PropTypes.func,
* Called as soon as the touchable element is pressed and invoked even before onPress.
* This can be useful when making network requests.
onPressIn: PropTypes.func,
onPressOut: PropTypes.func,
* Called as soon as the touch is released even before onPress.
onPressOut: PropTypes.func,
* Invoked on mount and layout changes with

0 comments on commit 8f36405

Please sign in to comment.