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
Type '{ children: Element; initialRouteName: string;}' is not assignable to type 'IntrinsicAttributes&NavigationContainerProps&{theme?: Theme|undefined; linking?: LinkingOptions<RootParamList>|undefined; fallback?: ReactNode; documentTitle?: DocumentTitleOptions|undefined; onReady?: (()=>void)|undefined;}&{ ...;}'. Property 'initialRouteName' does not exist on type 'IntrinsicAttributes&NavigationContainerProps&{theme?: Theme|undefined; linking?: LinkingOptions<RootParamList>|undefined; fallback?: ReactNode; documentTitle?: DocumentTitleOptions|undefined; onReady?: (()=>void)|undefined;}&{ ...;}'.ts(2322)
Screenshot:
Acceptance Criteria
I was expecting no error would show up
The text was updated successfully, but these errors were encountered:
Summary
Following the documentation provided, I see that there is an issue when setting the property
initialRouteName
to theNavigationContainer
tag.Computer: Mac OS 14.1 (23B74)
Editor: VSCode using React Native Tools by Microsoft.
Description
package.json dependencies:
App.js:
VSCode Error Popup:
Screenshot:
Acceptance Criteria
I was expecting no error would show up
The text was updated successfully, but these errors were encountered: