Skip to content

Commit a587525

Browse files
committed
Fixing TouchableOpacity and TouchableHighlight documentation
Summary: Found a typo in the TouchableOpacity and TouchableHighlight documentation Closes facebook#292 Github Author: Ryan Warren <ryan@war.re> Test Plan: Imported from GitHub, without a `Test Plan:` line.
1 parent 199613d commit a587525

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Libraries/Components/Touchable/TouchableHighlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var DEFAULT_PROPS = {
5050
* style={styles.button}
5151
* source={require('image!myButton')}
5252
* />
53-
* </View>
53+
* </TouchableHighlight>
5454
* );
5555
* },
5656
* ```

Libraries/Components/Touchable/TouchableOpacity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var onlyChild = require('onlyChild');
3939
* style={styles.button}
4040
* source={require('image!myButton')}
4141
* />
42-
* </View>
42+
* </TouchableOpacity>
4343
* );
4444
* },
4545
* ```

0 commit comments

Comments
 (0)