File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ class Tree extends React.Component {
77 static propTypes = {
88 checked : React . PropTypes . arrayOf ( React . PropTypes . string ) . isRequired ,
99 expanded : React . PropTypes . arrayOf ( React . PropTypes . string ) . isRequired ,
10- onCheck : React . PropTypes . func . isRequired ,
11- onExpand : React . PropTypes . func . isRequired ,
12-
13- name : React . PropTypes . string ,
14- nameAsArray : React . PropTypes . bool ,
1510 nodes : React . PropTypes . arrayOf (
1611 React . PropTypes . oneOfType ( [
1712 React . PropTypes . shape ( nodeShape ) ,
@@ -20,7 +15,12 @@ class Tree extends React.Component {
2015 children : React . PropTypes . arrayOf ( nodeShape ) ,
2116 } ) ,
2217 ] ) ,
23- ) ,
18+ ) . isRequired ,
19+ onCheck : React . PropTypes . func . isRequired ,
20+ onExpand : React . PropTypes . func . isRequired ,
21+
22+ name : React . PropTypes . string ,
23+ nameAsArray : React . PropTypes . bool ,
2424 optimisticToggle : React . PropTypes . bool ,
2525 } ;
2626
You can’t perform that action at this time.
0 commit comments