MCPcopy
hub / github.com/Pomax/react-onclickoutside / render

Method render

test/browser/test1.js:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers 1

test1.jsFile · 0.45

Calls 1

highlightMethod · 0.95

Tested by

no test coverage detected