Space Travelers web application, catering to companies offering commercial and scientific space travel services. This cutting-edge platform allows users to reserve rockets and participate in exciting space missions.
MIT License
4
stars
0
forks
source link
[1pt] Switch badges for Rockets - Conditional components #5
Rockets that have already been reserved should show a "Reserved" badge and "Cancel reservation" button instead of the default "Reserve rocket" (as per design)
Rockets that have already been reserved should show a "Reserved" badge and "Cancel reservation" button instead of the default "Reserve rocket" (as per design)
Use the React conditional rendering syntax: