File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,12 @@ import Tree, { TreeProps } from './Tree';
7
7
import { calcRangeKeys , getFullKeyList } from './util' ;
8
8
import Icon from '../icon' ;
9
9
import BaseMixin from '../_util/BaseMixin' ;
10
- import { initDefaultProps , getOptionProps , getListeners } from '../_util/props-util' ;
10
+ import {
11
+ initDefaultProps ,
12
+ getOptionProps ,
13
+ getListeners ,
14
+ getComponentFromProp ,
15
+ } from '../_util/props-util' ;
11
16
import { ConfigConsumerProps } from '../config-provider' ;
12
17
13
18
// export type ExpandAction = false | 'click' | 'dblclick'; export interface
@@ -195,6 +200,7 @@ export default {
195
200
prefixCls,
196
201
expandedKeys,
197
202
selectedKeys,
203
+ switcherIcon : getComponentFromProp ( this , 'switcherIcon' ) ,
198
204
} ,
199
205
ref : 'tree' ,
200
206
class : `${ prefixCls } -directory` ,
You can’t perform that action at this time.
0 commit comments