@@ -602,7 +602,7 @@ ReactSortableTree.propTypes = {
602
602
rowHeight : PropTypes . oneOfType ( [ PropTypes . number , PropTypes . func ] ) ,
603
603
604
604
// Size in px of the region near the edges that initiates scrolling on dragover
605
- slideRegionSize : PropTypes . number . isRequired , // eslint-disable-line react/no-unused-prop-types
605
+ slideRegionSize : PropTypes . number ,
606
606
607
607
// Custom properties to hand to the react-virtualized list
608
608
// https://github.com/bvaughn/react-virtualized/blob/master/docs/List.md#prop-types
@@ -612,13 +612,13 @@ ReactSortableTree.propTypes = {
612
612
scaffoldBlockPxWidth : PropTypes . number ,
613
613
614
614
// Maximum depth nodes can be inserted at. Defaults to infinite.
615
- maxDepth : PropTypes . number , // eslint-disable-line react/no-unused-prop-types
615
+ maxDepth : PropTypes . number ,
616
616
617
617
// The method used to search nodes.
618
618
// Defaults to a function that uses the `searchQuery` string to search for nodes with
619
619
// matching `title` or `subtitle` values.
620
620
// NOTE: Changing `searchMethod` will not update the search, but changing the `searchQuery` will.
621
- searchMethod : PropTypes . func , // eslint-disable-line react/no-unused-prop-types
621
+ searchMethod : PropTypes . func ,
622
622
623
623
// Used by the `searchMethod` to highlight and scroll to matched nodes.
624
624
// Should be a string for the default `searchMethod`, but can be anything when using a custom search.
@@ -628,7 +628,7 @@ ReactSortableTree.propTypes = {
628
628
searchFocusOffset : PropTypes . number ,
629
629
630
630
// Get the nodes that match the search criteria. Used for counting total matches, etc.
631
- searchFinishCallback : PropTypes . func , // eslint-disable-line react/no-unused-prop-types
631
+ searchFinishCallback : PropTypes . func ,
632
632
633
633
// Generate an object with additional props to be passed to the node renderer.
634
634
// Use this for adding buttons via the `buttons` key,
@@ -667,7 +667,7 @@ ReactSortableTree.propTypes = {
667
667
canDrag : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . bool ] ) ,
668
668
669
669
// Determine whether a node can be dropped based on its path and parents'.
670
- canDrop : PropTypes . func , // eslint-disable-line react/no-unused-prop-types
670
+ canDrop : PropTypes . func ,
671
671
672
672
// When true, or a callback returning true, dropping nodes to react-dnd
673
673
// drop targets outside of this tree will not remove them from this tree
0 commit comments