From 5e5cbda682bd4874e2cc79b59972d8855357125e Mon Sep 17 00:00:00 2001 From: Joshua Pinter Date: Fri, 29 Apr 2016 03:44:16 -0700 Subject: [PATCH] Show default `activeOpacity` value in docs. Summary: Useful to know what the default value without having to dig into the library code. Closes https://github.com/facebook/react-native/pull/7247 Differential Revision: D3228728 Pulled By: mkonicek fb-gh-sync-id: 433ca41d5395bbfb0c4887641a9e8b99c87b5e2b fbshipit-source-id: 433ca41d5395bbfb0c4887641a9e8b99c87b5e2b --- Libraries/Components/Touchable/TouchableOpacity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/Touchable/TouchableOpacity.js b/Libraries/Components/Touchable/TouchableOpacity.js index 52e0579e4..5f5ed94d1 100644 --- a/Libraries/Components/Touchable/TouchableOpacity.js +++ b/Libraries/Components/Touchable/TouchableOpacity.js @@ -55,7 +55,7 @@ var TouchableOpacity = React.createClass({ ...TouchableWithoutFeedback.propTypes, /** * Determines what the opacity of the wrapped view should be when touch is - * active. + * active. Defaults to 0.2. */ activeOpacity: React.PropTypes.number, },