Bind Click Event in WebView Android React Native
<p>I want to bind click event inside webview 
Below is my code but its not working.</p>

<pre><code>_renderContent() {
var s = '';
if(this.state.contents.length &gt; 0) {
    this.state.contents.map(( guid, i) =&gt; {
     s += '&lt;div style="font-size:48;padding-left:10px;"&gt;&lt;button onClick =   alert("hi");&gt;try&lt;button&gt;&lt;/div&gt;';
   });

  return (
     &lt;WebView 
         source={ { html: s} }
         scalesPageToFit={true}
         startInLoadingState={false}
     /&gt; 
);
</code></pre>

<p>}
}</p>