Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content

Add Navigation

Let’s add navigation to LandingScreen, so that we can load the VideoDetailsScreen when we click on a VideoCard.
  • In LandingScreen.tsx destructure navigation in the parameters for LandingScreen, declaring it to be of type any.
  • Update the VideoCard to take in the new prop pressFunction and set it to navigate to the VideoDetailScreen
  • Add { video: item } as a parameter to the navigate call.
The LandingScreen.tsx code should look like this:
Now if you click on a video it should take you to the VideoDetail Screen we created, however as you can see the Video Details are currently hardcoded so next we will update this screen to render the actual video data.
VideoDetail Screen

VideoDetail Screen


Last modified on February 9, 2026