mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Upgrade fbsource/xplat/js to Flow v0.53.0
Reviewed By: avikchaudhuri Differential Revision: D5648819 Ninja: T20988071 fbshipit-source-id: 66e5b6747c79ae66b6eb69d40ede5e982c26174f
This commit is contained in:
committed by
Facebook Github Bot
parent
1ce7e4c1e5
commit
90eaeb019b
@@ -45,7 +45,7 @@ var THUMB_URLS = [
|
||||
var NUM_SECTIONS = 100;
|
||||
var NUM_ROWS_PER_SECTION = 10;
|
||||
|
||||
class Thumb extends React.Component {
|
||||
class Thumb extends React.Component<{}, $FlowFixMeState> {
|
||||
componentWillMount() {
|
||||
UIManager.setLayoutAnimationEnabledExperimental &&
|
||||
UIManager.setLayoutAnimationEnabledExperimental(true);
|
||||
@@ -86,8 +86,7 @@ class Thumb extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
class ListViewPagingExample extends React.Component {
|
||||
state: *;
|
||||
class ListViewPagingExample extends React.Component<$FlowFixMeProps, *> {
|
||||
static title = '<ListView> - Paging';
|
||||
static description = 'Floating headers & layout animations.';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user