mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-27 19:25:11 +08:00
Add flexWrap warning
Reviewed By: sahrens Differential Revision: D5117970 fbshipit-source-id: 11b542bd6cd7b1ab22ba8f6822d471df94fa7da2
This commit is contained in:
committed by
Facebook Github Bot
parent
35338e9008
commit
eac399b696
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user