Explicitly import React

Summary:Following this commit:
a80dd9a92a
Closes https://github.com/facebook/react-native/pull/6910

Differential Revision: D3169295

fb-gh-sync-id: 8a82a7f9dd3b4af2e1cbfdac86842cd450023379
fbshipit-source-id: 8a82a7f9dd3b4af2e1cbfdac86842cd450023379
This commit is contained in:
sunnylqm 2016-04-12 12:33:51 -07:00 committed by Facebook Github Bot 9
parent ca2fb70fa9
commit c3824f4163
1 changed files with 9 additions and 3 deletions

View File

@ -66,8 +66,10 @@ We're going to render the title, year, and thumbnail for the movie. Since thumbn
```javascript
import React, {
AppRegistry,
Component,
} from 'react';
import {
AppRegistry,
Image,
StyleSheet,
Text,
@ -304,8 +306,10 @@ First things first: add the `ListView` import to the top of the file.
```javascript
import React, {
AppRegistry,
Component,
} from 'react';
import {
AppRegistry,
Image,
ListView,
StyleSheet,
@ -391,8 +395,10 @@ There's still some work to be done to make it a fully functional app such as: ad
*/
import React, {
AppRegistry,
Component,
} from 'react';
import {
AppRegistry,
Image,
ListView,
StyleSheet,