Fix Platform.Version documentation

Summary:Version exposes the sdk level (which TBH is more useful anyways), not a version string.
Closes https://github.com/facebook/react-native/pull/6068

Differential Revision: D2971198

fb-gh-sync-id: 0ba1e10e48b2ca51c7b0cebcc1ec13d0b69df783
shipit-source-id: 0ba1e10e48b2ca51c7b0cebcc1ec13d0b69df783
This commit is contained in:
Daniel Friesen 2016-02-24 06:20:37 -08:00 committed by facebook-github-bot-3
parent b8850df31b
commit 3603479471

View File

@ -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!');
}
```
```