Fork, clone, run yarn install, yarn start, pull request
- Add a new class component for Reviews
- Make sure your components extends the React component
- Import and use this component in ProductDetail
- This component will take a product from props
- It will show the number of reviews followed by "review" or "reviews" depending on if there is one or more reviews
- It will create a list of the reviews description which will inititally be hidden
- When the word "review" is clicked show the reviews
- When clicked again, hide the reviews