()
| 23 | } |
| 24 | |
| 25 | render() { |
| 26 | var className = 'concentric' + (this.state.highlight ? ' highlight' : ''); |
| 27 | return React.createElement('div', { |
| 28 | className: className, |
| 29 | children: this.props.children, |
| 30 | onClick: e => this.highlight(e), |
| 31 | }); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | const Nested = onClickOutside(BaseComponent); |