NavigatorScreen
Edit
This feature is still experimental. “Experimental” means this is an early implementation subject to drastic and breaking changes.
The NavigatorScreen
component represents a single view/screen/panel and should be used in combination with the NavigatorProvider
, the NavigatorButton
and the NavigatorBackButton
components (or the useNavigator
hook).
Usage
Refer to the NavigatorProvider
component for a usage example.
Props
The component accepts the following props:
path
: string
The screen’s path, matched against the current path stored in the navigator.
- Required: Yes