CodeYourFuture / CodeYourFuture/React-Module-Project

Feature RestaurantButton

Offen
#11 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
♟️ Dependent ticket 🏕 Priority Mandatory 🦔 Size Tiny
Vorherrschende Sprache
JavaScript
Sterne
1
Forks
28
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.