Add flexWrap warning

Reviewed By: sahrens

Differential Revision: D5117970

fbshipit-source-id: 11b542bd6cd7b1ab22ba8f6822d471df94fa7da2
This commit is contained in:
Xinbo Wang
2017-05-24 23:56:39 -07:00
committed by Facebook Github Bot
parent 35338e9008
commit eac399b696
2 changed files with 13 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
*/
'use strict';
const Alert = require('Alert');
const React = require('react');
const ReactNative = require('react-native');
const {
@@ -160,7 +161,7 @@ class FlatListExample extends React.PureComponent {
data: state.data.concat(genItemData(100, state.data.length)),
}));
};
_onRefresh = () => alert('onRefresh: nothing to refresh :P');
_onRefresh = () => Alert.alert('onRefresh: nothing to refresh :P');
_renderItemComponent = ({item, separators}) => {
return (
<ItemComponent