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 {
7
7
static propTypes = {
8
8
checked : React . PropTypes . arrayOf ( React . PropTypes . string ) . isRequired ,
9
9
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 ,
15
10
nodes : React . PropTypes . arrayOf (
16
11
React . PropTypes . oneOfType ( [
17
12
React . PropTypes . shape ( nodeShape ) ,
@@ -20,7 +15,12 @@ class Tree extends React.Component {
20
15
children : React . PropTypes . arrayOf ( nodeShape ) ,
21
16
} ) ,
22
17
] ) ,
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 ,
24
24
optimisticToggle : React . PropTypes . bool ,
25
25
} ;
26
26
You can’t perform that action at this time.
0 commit comments