File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 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';
77import { calcRangeKeys , getFullKeyList } from './util' ;
88import Icon from '../icon' ;
99import 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' ;
1116import { ConfigConsumerProps } from '../config-provider' ;
1217
1318// export type ExpandAction = false | 'click' | 'dblclick'; export interface
@@ -195,6 +200,7 @@ export default {
195200 prefixCls,
196201 expandedKeys,
197202 selectedKeys,
203+ switcherIcon : getComponentFromProp ( this , 'switcherIcon' ) ,
198204 } ,
199205 ref : 'tree' ,
200206 class : `${ prefixCls } -directory` ,
You can’t perform that action at this time.
0 commit comments