reaguj bieżącą ścieżkę
//Add your component to router
<Router path="/" component={Navigation} />
//Get your path
this.props.location.pathname
Tommy
//Add your component to router
<Router path="/" component={Navigation} />
//Get your path
this.props.location.pathname