mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 07:48:17 +08:00
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:
committed by
Facebook Github Bot 3
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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user