Feature RestaurantButton #18
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
Instructions:
Extract the
<button>
currently in the<Restaurant />
component to a new component namedRestaurantButton
. Pass theorderOne
function as a prop to the<RestaurantButton />
component and use this prop in theonClick
handler.Test:
The text was updated successfully, but these errors were encountered: