Fix React Native open source

Reviewed By: hramos, TheSavior

Differential Revision: D5728356

fbshipit-source-id: fb751d67c16ba9273de93d9b6d5acd65b1555dca
This commit is contained in:
Caleb Meredith
2017-08-29 15:01:05 -07:00
committed by Facebook Github Bot
parent 2d0fe109d7
commit 63f990121a
27 changed files with 257 additions and 300 deletions
+6 -8
View File
@@ -35,10 +35,9 @@ exports.examples = [
return (
<View>
<ScrollView
/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
* an error when upgrading Flow's support for React. Common errors
* found when upgrading Flow's React support are documented at
* https://fburl.com/eq7bs81w */
/* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
* comment suppresses an error when upgrading Flow's support for
* React. To see the error delete this comment and run Flow. */
ref={(scrollView) => { _scrollView = scrollView; }}
automaticallyAdjustContentInsets={false}
onScroll={() => { console.log('onScroll!'); }}
@@ -77,10 +76,9 @@ exports.examples = [
<View style={addtionalStyles}>
<Text style={styles.text}>{title}</Text>
<ScrollView
/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment
* suppresses an error when upgrading Flow's support for React.
* Common errors found when upgrading Flow's React support are
* documented at https://fburl.com/eq7bs81w */
/* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
* comment suppresses an error when upgrading Flow's support for
* React. To see the error delete this comment and run Flow. */
ref={(scrollView) => { _scrollView = scrollView; }}
automaticallyAdjustContentInsets={false}
horizontal={true}