Skip to content

Commit cb39896

Browse files
Update REDAME.md , remove console.log
1 parent 5dda561 commit cb39896

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# React native flatlist view
1+
# Wrapper for FlatList React native
22

33
## Installation
44

@@ -9,15 +9,14 @@ npm install flatlist-view-control-rn
99
## Usage
1010

1111
```js
12-
import {RefreshListView} from "flatlist-view-control-rn";
13-
12+
import {
13+
endRefreshing as EndRefreshing,
14+
RefreshListView,
15+
RefreshState,
16+
} from "flatlist-view-control-rn";
1417
// ...
15-
16-
1718
```
1819

19-
20-
2120
## License
2221

2322
MIT

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
1111
},
1212
"dependencies": {
13-
"flatlist-view-control-rn": "^1.0.1",
13+
"flatlist-view-control-rn": "^1.0.3",
1414
"immer": "^9.0.2",
1515
"react": "17.0.1",
1616
"react-native": "0.64.0",

src/RefreshListView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export default class RefreshListView<ItemT> extends Component<
160160

161161
if (callOnScrollEnd && this.shouldStartFooterRefreshing()) {
162162
if (offsetY + height >= contentHeight) {
163-
console.log('load more');
163+
// console.log('load more');
164164
this.startFooterRefreshing();
165165
callOnScrollEnd = false;
166166
}

0 commit comments

Comments
 (0)