mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Fixed spelling mistake in validateRouteConfigMap (#2049)
This commit is contained in:
@@ -41,7 +41,7 @@ function validateRouteConfigMap(routeConfigs: NavigationRouteConfigMap) {
|
||||
invariant(
|
||||
typeof routeConfig.screen === 'function',
|
||||
`The component for route '${routeName}' must be a ` +
|
||||
'a React component. For example:\n\n' +
|
||||
'React component. For example:\n\n' +
|
||||
"import MyScreen from './MyScreen';\n" +
|
||||
'...\n' +
|
||||
`${routeName}: {\n` +
|
||||
|
||||
Reference in New Issue
Block a user