Skip to content

Commit f09c75f

Browse files
magichimcharpeni
authored andcommitted
Update refreshcontrol.md (facebook#358)
change ListView -> FlatList
1 parent 9d97ab9 commit f09c75f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/refreshcontrol.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ class RefreshableList extends Component {
2525

2626
render() {
2727
return (
28-
<ListView
28+
<FlatList
2929
refreshControl={
3030
<RefreshControl
3131
refreshing={this.state.refreshing}
3232
onRefresh={this._onRefresh.bind(this)}
3333
/>
3434
}
3535
...
36-
>
37-
...
38-
</ListView>
36+
/>
3937
);
4038
}
4139
...

0 commit comments

Comments
 (0)