react-native/Libraries/Components/Touchable
James Isaac 64c8f22343 Correct/consistent docs for Touchable components
Summary:
I ran into confusion (#12581) because the docs for TouchableOpacity stated that it doesn't change the view hierarchy, but in fact it does, and the docs are just out of date.

- [20 Feb 2015](efae175a8e/Libraries/Components/Touchable/TouchableOpacity.js (L21)) Docs correctly reflected that the component was cloned so didn't affect hierarchy
- [25 Jul 2015](725053acfe) Component was changed to being wrapped but docs weren't updated.

Went to correct this in the docs and noticed they were a bit inconsistent with each other, so have made them more unified.  Each one now clearly warns about:

- If it adds a view to the hierarchy, which will affect layout.
- If it can only accept a single child.
Closes https://github.com/facebook/react-native/pull/12583

Differential Revision: D4619837

Pulled By: ericvicenti

fbshipit-source-id: 4d1becd9f290cefcb4548a5ea2878be2d2c315fa
2017-02-27 14:04:57 -08:00
..
__mocks__ Update to 14.0 2016-07-27 22:13:26 -07:00
__tests__ Update Jest to 19.0.2 2017-02-24 08:30:50 -08:00
BoundingDimensions.js Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
Position.js Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
Touchable.js return if UIManager failed to measure node 2017-02-09 21:00:17 -08:00
TouchableBounce.js RN: Update React (2/2) 2016-11-04 05:43:44 -07:00
TouchableHighlight.js Correct/consistent docs for Touchable components 2017-02-27 14:04:57 -08:00
TouchableNativeFeedback.android.js Correct/consistent docs for Touchable components 2017-02-27 14:04:57 -08:00
TouchableNativeFeedback.ios.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TouchableOpacity.js Correct/consistent docs for Touchable components 2017-02-27 14:04:57 -08:00
TouchableWithoutFeedback.js Correct/consistent docs for Touchable components 2017-02-27 14:04:57 -08:00
ensureComponentIsNative.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ensurePositiveDelayProps.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00