I am having a tile. Clicking anywhere on it should redirect to a new page.I have kept my complete code inside Link tag so that whenever i will click on any part of that div, it will navigate to the new page. But inside that Link tag, there is a subdiv, clicking on which i don't want to perform redirection. The problem i am facing is that if i will close the link tag before that particular div on which i don't want to perform redirection then, remaining area of the parent div is also becoming non-clickable except the written p tags. How i can make only that particular div non-redirectable.
<Link to={{ pathname: '/demo_summary/'>
<div className="ctd-tile" style={{ margin: "10px", height"260px" }}>
<p>VERSION: {i.version}</p><br />
<p>Complexity: {i.complexity}</p><br />
<div className="col-md-4">}}>
<img src={require("../images/icon1.png")} title="DEMO PLAN" /></Link>
</div>
<div className="col-md-4">
<input type="image" title="View HTML" src={require("../images/viewAsHtml.png")} style={{width: "40%", cursor: "pointer"}} onClick={(e) => { e, that.openReport(e, i.demoName) }}/>
</div>
<div className="col-md-4">
<Download file={i.name} content={text}>
<img src={require("../images/download.png")} title="DOWNLOAD" style={{ width: "25%", cursor: "pointer" }} />
</Download>
</div>
</div>
</Link>
I want to make second div having title as "View HTML" to be non-redirectable.