Skip to content

Commit ed5721d

Browse files
committed
3.1.5 released
updated Example
1 parent 8a38b57 commit ed5721d

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Example/app/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ export default class Example extends Component {
139139

140140
item={this.renderItem} //this takes three params (item, index, separator)
141141
numColumns={this.state.layout === 'list' ? 1 : 3} //to use grid layout, simply set gridColumn > 1
142-
columnWrapperStyle={{height: 120}} //use this line to customise style of each row in FlatList, only work when gridColumn > 1
143142

144143
//----Extra Config----
145144
header={this.renderHeader}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This is an **enhanced FlatList** with all excellent extra features, comparing to
1313
**Quick installation**
1414

1515
- If on react-native < 0.43: `yarn add [email protected]`
16-
- If on react-native >= 0.43 `yarn add [email protected].4`
16+
- If on react-native >= 0.43 `yarn add [email protected].5`
1717

1818

1919

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-ultimate-listview",
3-
"version": "3.1.4",
3+
"version": "3.1.5",
44
"description": "A high performance FlatList providing customised pull-to-refresh | auto-pagination & infinite-scrolling | gridview layout | swipeable-row. The truly ultimate version that I have done the most tricky part for you, just simply follow the instructions shown below to put it in your app.",
55
"main": "index.js",
66
"scripts": {

src/ultimateListView.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export default class UltimateListView extends Component {
8484
static propTypes = {
8585
initialNumToRender: React.PropTypes.number,
8686
horizontal: React.PropTypes.bool,
87-
gap: React.PropTypes.number,
8887

8988
firstLoader: React.PropTypes.bool,
9089
scrollEnabled: React.PropTypes.bool,
@@ -452,7 +451,7 @@ export default class UltimateListView extends Component {
452451
}
453452

454453
render() {
455-
const {numColumns, gap} = this.props;
454+
const {numColumns} = this.props;
456455
return (
457456
<FlatList renderScrollComponent={this.renderScrollComponent}
458457
onEndReachedThreshold={0.1}

0 commit comments

Comments
 (0)