Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature RestaurantButton #18

Open
1 task
SallyMcGrath opened this issue Dec 18, 2024 · 0 comments
Open
1 task

Feature RestaurantButton #18

SallyMcGrath opened this issue Dec 18, 2024 · 0 comments
Labels
♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🏕 Priority Mandatory This work is expected 🦔 Size Tiny Less than 30 minutes

Comments

@SallyMcGrath
Copy link
Collaborator

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.
@SallyMcGrath SallyMcGrath added ♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🏕 Priority Mandatory This work is expected 🦔 Size Tiny Less than 30 minutes labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🏕 Priority Mandatory This work is expected 🦔 Size Tiny Less than 30 minutes
Projects
None yet
Development

No branches or pull requests

1 participant