From a0024b43a06f10ddca038e5514315ad14d84b079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Mon, 21 Aug 2017 11:01:29 +0200 Subject: [PATCH] Add ability to pass custom listview props Should permit to solve temporarily this issue: https://github.com/ldn0x7dc/react-native-view-pager/issues/4#issuecomment-323561990 --- library/ViewPager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/library/ViewPager.js b/library/ViewPager.js index 6257317..bf6d6da 100644 --- a/library/ViewPager.js +++ b/library/ViewPager.js @@ -132,6 +132,7 @@ export default class ViewPager extends Component { dataSource={dataSource} renderRow={this.renderRow.bind(this)} onLayout={this.onLayout.bind(this)} + {...this.props.listViewProps} /> );