Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Route path="/products/:id" component={ProductDetails} />
- render() {
- return (
- <div>
- <h1>Product Details -{this.props.match.params.id} </h1>
- </div>
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement