react router params get in props code example
Example: react get route params
const Child = ({ match }) => (
<div>
<h3>ID: {match.params.id}</h3>
</div>
)
const Child = ({ match }) => (
<div>
<h3>ID: {match.params.id}</h3>
</div>
)