File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,7 @@ class ReactSortableTree extends Component {
331
331
( ) => ( rows [ index - 1 ] || null ) ,
332
332
matchKeys
333
333
) }
334
+ { ...this . props . reactVirtualizedListProps }
334
335
/>
335
336
) }
336
337
</ AutoSizer >
@@ -411,6 +412,10 @@ ReactSortableTree.propTypes = {
411
412
// height of a row given its index: `({ index: number }): number`
412
413
rowHeight : PropTypes . oneOfType ( [ PropTypes . number , PropTypes . func ] ) ,
413
414
415
+ // Custom properties to hand to the react-virtualized list
416
+ // https://github.com/bvaughn/react-virtualized/blob/master/docs/List.md#prop-types
417
+ reactVirtualizedListProps : PropTypes . object ,
418
+
414
419
// The width of the blocks containing the lines representing the structure of the tree.
415
420
scaffoldBlockPxWidth : PropTypes . number ,
416
421
You can’t perform that action at this time.
0 commit comments