Skip to content

Commit b189a09

Browse files
committed
remove MJMetroListView
1 parent e2ac457 commit b189a09

File tree

3 files changed

+1
-69
lines changed

3 files changed

+1
-69
lines changed

MJFlatList.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
import React, {Component} from 'react';
22
import {VirtualizedList, FlatList,Platform} from 'react-native';
3-
import MJMetroListView from './MJMetroListView'
4-
53
class MJFlatList extends FlatList {
64
render() {
7-
if (this.props.legacyImplementation) {
8-
return (
9-
<MJMetroListView
10-
{...this.props}
11-
items={this.props.data}
12-
ref={this._captureRef}
13-
/>
14-
);
15-
} else {
165
return (
176
<VirtualizedList
187
{...this.props}
@@ -26,7 +15,6 @@ class MJFlatList extends FlatList {
2615
}
2716
/>
2817
);
29-
}
3018
}
3119
}
3220

MJMetroListView.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-mjrefresh",
3-
"version": "0.6.5",
3+
"version": "0.7.0",
44
"description": "",
55
"main": "MJRefresh.js",
66
"scripts": {

0 commit comments

Comments
 (0)