Match-id-c6f3be2ae5ec4f9fe7002b321e94288f8698854f
This commit is contained in:
parent
a5f78bf5fb
commit
2321277489
|
@ -10,6 +10,13 @@
|
|||
.treeItem {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
|
||||
.treeIcon {
|
||||
color: @arrow-color;
|
||||
display: inline-block;
|
||||
width: 12px;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
.componentName {
|
||||
color: @component-name-color;
|
||||
}
|
||||
|
@ -21,8 +28,3 @@
|
|||
}
|
||||
}
|
||||
|
||||
.treeIcon {
|
||||
color: @arrow-color;
|
||||
display: inline-block;
|
||||
width: 12px
|
||||
}
|
||||
|
|
|
@ -22,7 +22,6 @@ const divHeight = 21;
|
|||
const indentationLength = 20;
|
||||
|
||||
function Item({ name, style, userKey, hasChild, onCollapse, isCollapsed, id, indentation }: IItem) {
|
||||
const key = userKey === '' ? '' : ` key = '${userKey}'`;
|
||||
const isShowKey = userKey !== '';
|
||||
const showIcon = hasChild ? <Arrow director={isCollapsed ? 'right' : 'down'} /> : '';
|
||||
const onClickCollapse = () => {
|
||||
|
|
Loading…
Reference in New Issue