Add syntax highlighting to docs where missing

This commit is contained in:
Neil Kistner
2016-02-23 19:01:26 -06:00
committed by Nicolas Gallagher
parent 2dff45b561
commit b0f35f6c66
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ into `runApplication`
## Example
```
```js
AppRegistry.registerComponent('MyApp', () => AppComponent)
AppRegistry.runApplication('MyApp', {
initialProps: {},
+1 -1
View File
@@ -44,7 +44,7 @@ internet connectivity.
Fetching the connection type:
```
```js
NetInfo.fetch().then((connectionType) => {
console.log('Connection type:', connectionType);
});