(evt: ?SyntheticEvent<any>)
| 129 | |
| 130 | |
| 131 | handleClick(evt: ?SyntheticEvent<any>): void { |
| 132 | if (evt) evt.stopPropagation(); |
| 133 | const { nodeModel, treeNode } = this.props; |
| 134 | |
| 135 | treeNode.setCurrentNode(this); |
| 136 | if (treeNode.props.expandOnClickNode){ |
| 137 | this.handleExpandIconClick() |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | handleExpandIconClick(evt: ?SyntheticEvent<any>): void { |
| 142 | if (evt) evt.stopPropagation(); |
nothing calls this directly
no test coverage detected