function render() { return ( <div style={{cursor: 'pointer'}} className="foo" onClick={(ev) => { alert('hi') }}></div> ); }