@@ -22,14 +22,15 @@ export default class SortableList extends Component {
22
22
scrollEnabled : PropTypes . bool ,
23
23
horizontal : PropTypes . bool ,
24
24
refreshControl : PropTypes . element ,
25
+ autoscrollAreaSize : PropTypes . number ,
26
+ rowActivationTime : PropTypes . number ,
25
27
26
28
renderRow : PropTypes . func . isRequired ,
27
29
renderFooter : PropTypes . func ,
28
30
29
31
onChangeOrder : PropTypes . func ,
30
32
onActivateRow : PropTypes . func ,
31
33
onReleaseRow : PropTypes . func ,
32
- autoscrollAreaSize : PropTypes . number ,
33
34
} ;
34
35
35
36
static defaultProps = {
@@ -186,7 +187,7 @@ export default class SortableList extends Component {
186
187
}
187
188
188
189
_renderRows ( ) {
189
- const { horizontal, sortingEnabled, renderRow} = this . props ;
190
+ const { horizontal, rowActivationTime , sortingEnabled, renderRow} = this . props ;
190
191
const { animated, order, data, activeRowKey, releasedRowKey, rowsLayouts} = this . state ;
191
192
192
193
let rowHeight = 0 ;
@@ -233,6 +234,7 @@ export default class SortableList extends Component {
233
234
key = { uniqueRowKey ( key ) }
234
235
ref = { this . _onRefRow . bind ( this , key ) }
235
236
horizontal = { horizontal }
237
+ activationTime = { rowActivationTime }
236
238
animated = { animated && ! active }
237
239
disabled = { ! sortingEnabled }
238
240
style = { style }
0 commit comments