mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
Fixed spelling mistake in validateRouteConfigMap (#2049)
This commit is contained in:
parent
b6de8cb276
commit
04b5578c14
@ -41,7 +41,7 @@ function validateRouteConfigMap(routeConfigs: NavigationRouteConfigMap) {
|
|||||||
invariant(
|
invariant(
|
||||||
typeof routeConfig.screen === 'function',
|
typeof routeConfig.screen === 'function',
|
||||||
`The component for route '${routeName}' must be a ` +
|
`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" +
|
"import MyScreen from './MyScreen';\n" +
|
||||||
'...\n' +
|
'...\n' +
|
||||||
`${routeName}: {\n` +
|
`${routeName}: {\n` +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user