File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ declare module "react-checkbox-tree" {
33
33
34
34
interface CheckboxProps {
35
35
nodes : Array < Node > ;
36
- checked : Array < string > ;
37
- expanded : Array < string > ;
38
- onCheck : ( checked : Array < string > ) => void ;
39
- onExpand : ( expanded : Array < string > ) => void ;
40
36
37
+ checkModel ?: string ;
38
+ checked ?: Array < string > ;
41
39
disabled ?: boolean ;
42
40
expandDisabled ?: boolean ;
43
41
expandOnClick ?: boolean ;
42
+ expanded ?: Array < string > ;
44
43
icons ?: Icons ;
44
+ iconsClass ?: string ;
45
45
lang ?: Language ;
46
46
name ?: string ;
47
47
nameAsArray ?: boolean ;
@@ -52,7 +52,9 @@ declare module "react-checkbox-tree" {
52
52
showExpandAll ?: boolean ;
53
53
showNodeIcon ?: boolean ;
54
54
showNodeTitles ?: boolean ;
55
+ onCheck ?: ( checked : Array < string > ) => void ;
55
56
onClick ?: ( event : { checked : boolean , value : any } ) => void ;
57
+ onExpand ?: ( expanded : Array < string > ) => void ;
56
58
}
57
59
58
60
export default class CheckboxTree extends React . Component < CheckboxProps > { }
You can’t perform that action at this time.
0 commit comments