Bereaksi jalur saat ini

//Add your component to router
<Router path="/" component={Navigation}  />
//Get your path
this.props.location.pathname
Tommy