forked from CodeYourFuture/React-Module-Project
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🏕 Priority MandatoryThis work is expectedThis work is expected🦔 Size TinyLess than 30 minutesLess than 30 minutes
Description
Instructions:
Extract the <button> currently in the <Restaurant /> component to a new component named RestaurantButton. Pass the orderOne function as a prop to the <RestaurantButton /> component and use this prop in the onClick handler.
Test:
- Clicking the button should increment the number of pizzas.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🏕 Priority MandatoryThis work is expectedThis work is expected🦔 Size TinyLess than 30 minutesLess than 30 minutes