mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-22 22:44:52 +00:00
Add syntax highlighting to docs where missing
This commit is contained in:
committed by
Nicolas Gallagher
parent
2dff45b561
commit
b0f35f6c66
@@ -51,7 +51,7 @@ into `runApplication`
|
||||
|
||||
## Example
|
||||
|
||||
```
|
||||
```js
|
||||
AppRegistry.registerComponent('MyApp', () => AppComponent)
|
||||
AppRegistry.runApplication('MyApp', {
|
||||
initialProps: {},
|
||||
|
||||
@@ -44,7 +44,7 @@ internet connectivity.
|
||||
|
||||
Fetching the connection type:
|
||||
|
||||
```
|
||||
```js
|
||||
NetInfo.fetch().then((connectionType) => {
|
||||
console.log('Connection type:', connectionType);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user