Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 28ae57f

Browse files
remon-nashidMinishlink
authored andcommitted
Replace commonjs 'module.exports' w/ es6 'export default'
1 parent e26fe79 commit 28ae57f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/MetroListView.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type Props = NormalProps & DefaultProps;
5959
* some section support tacked on. It is recommended to just use FlatList directly, this component
6060
* is mostly for debugging and performance comparison.
6161
*/
62-
class MetroListView extends React.Component<Props, $FlowFixMeState> {
62+
export default class MetroListView extends React.Component<Props, $FlowFixMeState> {
6363
scrollToEnd(params?: ?{ animated?: ?boolean }) {
6464
throw new Error('scrollToEnd not supported in legacy ListView.');
6565
}
@@ -213,5 +213,3 @@ class MetroListView extends React.Component<Props, $FlowFixMeState> {
213213
<this.props.SeparatorComponent key={sID + rID} />
214214
);
215215
}
216-
217-
module.exports = MetroListView;

0 commit comments

Comments
 (0)