CodeYourFuture / CodeYourFuture/React-Module-Project

Feature RestaurantButton

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
♟️ 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.