You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass a new prop named orderType to the <Order /> component with the value "Pizzas". Then render the orderType prop instead of "Pizzas" in the <Order /> component. Make sure that "Pizzas" is still displayed on the screen. In the <ul> list of the <Restaurant /> component, render 2 others <Order /> components but this time pass different values for the orderType prop: "Salads" and "Chocolate cake".
From React-Module-Project created by SallyMcGrath: CodeYourFuture#13
Instructions:
Pass a new prop named
orderType
to the<Order />
component with the value "Pizzas". Then render theorderType
prop instead of "Pizzas" in the<Order />
component. Make sure that "Pizzas" is still displayed on the screen. In the<ul>
list of the<Restaurant />
component, render 2 others<Order />
components but this time pass different values for theorderType
prop: "Salads" and "Chocolate cake".Depends on #12
Test:
The text was updated successfully, but these errors were encountered: