this is my app.js
<div
className="flex-one main-content-box"
style={{ height: "calc(100% - 55px)" }}
>
<div className="arrow-navigation" style={{ top: topPosition }}></div>
<Switch>
<Route path="/" exact render={() => <DashBoard store={main} />} />
<Route path="/newprocess" render={() => <div>DEFG</div>} />
<Route path="/release" render={() => <div>ABCD</div>} />
</Switch>
</div>
this is my process.jsx
<div className="saveblue mg-r-10" onClick={this.handleNewProcess} style={{cursor: "default"}}><i className="fas fa-plus pd-r-5" />New Process</div>
this the function
handleNewProcess = () => {
//HOW DO I REDIRECT THE CLICK FROM HERE TO "/newprocess" page
}