Fixed spelling mistake in validateRouteConfigMap (#2049)

This commit is contained in:
Michael 2017-07-04 16:23:02 +10:00 committed by Adam Miskiewicz
parent b6de8cb276
commit 04b5578c14

View File

@ -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` +