-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed By: yungsters Differential Revision: D7985836 fbshipit-source-id: 6e0944a8d2fb85aabc34dfd3125a07b208749f21
- Loading branch information
1 parent
af6e2eb
commit 4b1ecb6
Showing
8 changed files
with
73 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @format | ||
* @flow | ||
*/ | ||
|
||
const React = require('React'); | ||
const ListViewDataSource = require('ListViewDataSource'); | ||
|
||
// This class is purely a facsimile of ListView so that we can | ||
// properly type it with Flow before migrating ListView off of | ||
// createReactClass. If there are things missing here that are in | ||
// ListView, that is unintentional. | ||
class InternalListViewType<Props> extends React.Component<Props> { | ||
static DataSource = ListViewDataSource; | ||
setNativeProps(props: Object) {} | ||
flashScrollIndicators() {} | ||
getScrollResponder(): any {} | ||
getScrollableNode(): any {} | ||
// $FlowFixMe | ||
getMetrics(): Object {} | ||
scrollTo(...args: Array<mixed>) {} | ||
scrollToEnd(options?: ?{animated?: ?boolean}) {} | ||
} | ||
|
||
module.exports = InternalListViewType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters