Fix Linking Example

Summary:
It seems like the examples weren't working since the merge of `IntentAndroid` and `LinkingIOS` since they were still using `TouchableNativeFeedback` only available on Android.

The problem was also reported here : https://github.com/facebook/react-native/issues/7615
Closes https://github.com/facebook/react-native/pull/7655

Differential Revision: D3329233

fbshipit-source-id: 8c9cabaab0a616dab406c4e444c9fa6da5f54b6d
This commit is contained in:
Jimmy Mayoukou 2016-05-20 13:25:29 -07:00 committed by Facebook Github Bot 6
parent 946ec48a07
commit 0525d4a128
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ var {
Linking,
StyleSheet,
Text,
TouchableNativeFeedback,
TouchableOpacity,
View,
} = ReactNative;
var UIExplorerBlock = require('./UIExplorerBlock');
@ -42,12 +42,12 @@ var OpenURLButton = React.createClass({
render: function() {
return (
<TouchableNativeFeedback
<TouchableOpacity
onPress={this.handleClick}>
<View style={styles.button}>
<Text style={styles.text}>Open {this.props.url}</Text>
</View>
</TouchableNativeFeedback>
</TouchableOpacity>
);
}
});