This commit is contained in:
Thomas Nordquist
2019-02-17 09:57:54 +01:00
parent e34a38c1f0
commit 4b8356632c

View File

@@ -26,13 +26,14 @@ class TreeNodeTitle extends React.Component<TreeNodeProps, {}> {
}, 5) }, 5)
public render() { public render() {
const { classes, treeNode, style, className } = this.props
return ( return (
<span <span
className={`${this.props.classes.title} ${this.props.className}`} className={`${classes.title} ${className}`}
onMouseOver={this.props.treeNode.message ? this.mouseOver : undefined} onMouseOver={treeNode.message ? this.mouseOver : undefined}
style={this.props.style} style={style}
> >
{this.renderExpander()} {this.renderSourceEdge()} {this.renderCollapsedSubnodes()} {this.renderValue()} <span className={classes.expander}>{this.renderExpander()}</span> {this.renderSourceEdge()} {this.renderCollapsedSubnodes()} {this.renderValue()}
</span> </span>
) )
} }