Navigator
A component used to navigate between different screens.
Here is a simple example of a modal that has two screens, and uses the navigate
function to switch between them.
Name | Type | Description |
---|---|---|
initialScreenName | string? |
The name of the Screen to initialize to. Defaults to the first Screen . |
Wrap the Screens you want to navigate between in a Navigator component, and then use the navigate
function to switch between them.