From a587525c2def7833a66d4f407f99f7f86d156888 Mon Sep 17 00:00:00 2001 From: Ryan Warren Date: Sat, 28 Mar 2015 15:26:15 -0700 Subject: [PATCH] Fixing TouchableOpacity and TouchableHighlight documentation Summary: Found a typo in the TouchableOpacity and TouchableHighlight documentation Closes https://github.com/facebook/react-native/pull/292 Github Author: Ryan Warren Test Plan: Imported from GitHub, without a `Test Plan:` line. --- Libraries/Components/Touchable/TouchableHighlight.js | 2 +- Libraries/Components/Touchable/TouchableOpacity.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Components/Touchable/TouchableHighlight.js b/Libraries/Components/Touchable/TouchableHighlight.js index d2089fb56..080a6750c 100644 --- a/Libraries/Components/Touchable/TouchableHighlight.js +++ b/Libraries/Components/Touchable/TouchableHighlight.js @@ -50,7 +50,7 @@ var DEFAULT_PROPS = { * style={styles.button} * source={require('image!myButton')} * /> - * + * * ); * }, * ``` diff --git a/Libraries/Components/Touchable/TouchableOpacity.js b/Libraries/Components/Touchable/TouchableOpacity.js index fd9d05971..ff1df3851 100644 --- a/Libraries/Components/Touchable/TouchableOpacity.js +++ b/Libraries/Components/Touchable/TouchableOpacity.js @@ -39,7 +39,7 @@ var onlyChild = require('onlyChild'); * style={styles.button} * source={require('image!myButton')} * /> - * + * * ); * }, * ```