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:
parent
946ec48a07
commit
0525d4a128
|
@ -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>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue