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 {
331331 ( ) => ( rows [ index - 1 ] || null ) ,
332332 matchKeys
333333 ) }
334+ { ...this . props . reactVirtualizedListProps }
334335 />
335336 ) }
336337 </ AutoSizer >
@@ -411,6 +412,10 @@ ReactSortableTree.propTypes = {
411412 // height of a row given its index: `({ index: number }): number`
412413 rowHeight : PropTypes . oneOfType ( [ PropTypes . number , PropTypes . func ] ) ,
413414
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+
414419 // The width of the blocks containing the lines representing the structure of the tree.
415420 scaffoldBlockPxWidth : PropTypes . number ,
416421
You can’t perform that action at this time.
0 commit comments