Skip to content

Commit 2a50697

Browse files
committed
Render MJScrollView by default
1 parent 9394b4e commit 2a50697

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MJListView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ var cloneReferencedElement = require('react-clone-referenced-element');
3737
var createReactClass = require('create-react-class');
3838
var isEmpty = require('react-native/Libraries/vendor/core/isEmpty');
3939
var merge = require('merge');
40+
var MJScrollView = require('./MJScrollView');
4041

4142
var DEFAULT_PAGE_SIZE = 1;
4243
var DEFAULT_INITIAL_ROWS = 10;
@@ -338,7 +339,7 @@ getDefaultProps: function() {
338339
return {
339340
initialListSize: DEFAULT_INITIAL_ROWS,
340341
pageSize: DEFAULT_PAGE_SIZE,
341-
renderScrollComponent: props => <ScrollView {...props} />,
342+
renderScrollComponent: props => <MJScrollView {...props} />,
342343
scrollRenderAheadDistance: DEFAULT_SCROLL_RENDER_AHEAD,
343344
onEndReachedThreshold: DEFAULT_END_REACHED_THRESHOLD,
344345
stickySectionHeadersEnabled: Platform.OS === 'ios',

0 commit comments

Comments
 (0)