this.changeDept(node.id)}
onMouseEnter={this.onMouseEnter}
onMouseLeave={this.onMouseLeave}
>
{this.state.isShowTreeIcon ?
this.toggleChildren(e)}>
:
}
{node.name}
{active &&
this.dropdownToggle(e)}
direction="down"
className="department-dropdown-menu"
>
}
{this.state.isChildrenShow &&
{node.children && this.renderTreeNodes(node.children)}
}
);
}
}
DepartmentsV2TreeNode.propTypes = departmentsV2TreeNodePropTypes;
export default DepartmentsV2TreeNode;