Enabling `flashScrollIndicators` example for all platforms
Summary: ... because it was recently implemented for Android. Reviewed By: mmmulani Differential Revision: D5916305 fbshipit-source-id: b8af0f8712e36aee5c44f7ede41da25fc944134f
This commit is contained in:
parent
01a6178873
commit
e9a090fd9b
|
@ -55,13 +55,11 @@ exports.examples = [
|
|||
onPress={() => { _scrollView.scrollToEnd({animated: true}); }}>
|
||||
<Text>Scroll to bottom</Text>
|
||||
</TouchableOpacity>
|
||||
{ Platform.OS === 'ios' ?
|
||||
<TouchableOpacity
|
||||
style={styles.button}
|
||||
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
||||
<Text>Flash scroll indicators</Text>
|
||||
</TouchableOpacity>
|
||||
: null }
|
||||
<TouchableOpacity
|
||||
style={styles.button}
|
||||
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
||||
<Text>Flash scroll indicators</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
@ -95,13 +93,11 @@ exports.examples = [
|
|||
onPress={() => { _scrollView.scrollToEnd({animated: true}); }}>
|
||||
<Text>Scroll to end</Text>
|
||||
</TouchableOpacity>
|
||||
{ Platform.OS === 'ios' ?
|
||||
<TouchableOpacity
|
||||
style={styles.button}
|
||||
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
||||
<Text>Flash scroll indicators</Text>
|
||||
</TouchableOpacity>
|
||||
: null }
|
||||
<TouchableOpacity
|
||||
style={styles.button}
|
||||
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
||||
<Text>Flash scroll indicators</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue