Add AppRegistry to imports in example
Summary: Missing import throws variable error Closes https://github.com/facebook/react-native/pull/8988 Differential Revision: D3611142 fbshipit-source-id: b50edf52cdf6c723abaa7bd021cf11ee5b4d874d
This commit is contained in:
parent
15dfa5b224
commit
143b6493b0
|
@ -51,7 +51,7 @@ Notice the `export default` in front of the component declaration. This will _ex
|
|||
|
||||
```javascript
|
||||
import React, { Component } from 'react';
|
||||
import { View, Text } from 'react-native';
|
||||
import { AppRegistry } from 'react-native';
|
||||
|
||||
import MyScene from './MyScene';
|
||||
|
||||
|
|
Loading…
Reference in New Issue