diff --git a/docs/PlatformSpecificInformation.md b/docs/PlatformSpecificInformation.md index 9c2f2e02f34376..03aa48bf1acc2c 100644 --- a/docs/PlatformSpecificInformation.md +++ b/docs/PlatformSpecificInformation.md @@ -61,7 +61,7 @@ On Android, the Platform module can be also used to detect which is the version ```javascript var {Platform} = React; -if(Platform.Version === '5.0'){ +if(Platform.Version === 21){ console.log('Running on Lollipop!'); } -``` \ No newline at end of file +```