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 коммит произвёл Facebook Github Bot 6
Родитель 946ec48a07
Коммит 0525d4a128
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

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