CodeYourFuture / CodeYourFuture/React-Module-Project
Feature RestaurantButton
Open
♟️ Dependent ticket
🏕 Priority Mandatory
🦔 Size Tiny
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
**Instructions:**
Extract the `` currently in the `` component to a new component named `RestaurantButton`. Pass the `orderOne` function as a prop to the `` component and use this prop in the `onClick` handler.
**Test:**
- [ ] Clicking the button should increment the number of pizzas.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.