Update Tutorial.md with missing Component import
Summary: Closes https://github.com/facebook/react-native/pull/5484 Reviewed By: svcscm Differential Revision: D2854745 Pulled By: androidtrunkagent fb-gh-sync-id: b89a8dbef33cc0d89d5e94fa7c5f35219d7c8147
This commit is contained in:
parent
35e1fd8826
commit
f7cb745195
|
@ -59,6 +59,7 @@ We're going to render the title, year, and thumbnail for the movie. Since thumbn
|
||||||
```javascript
|
```javascript
|
||||||
import React, {
|
import React, {
|
||||||
AppRegistry,
|
AppRegistry,
|
||||||
|
Component,
|
||||||
Image,
|
Image,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
Text,
|
Text,
|
||||||
|
@ -296,6 +297,7 @@ First things first: add the `ListView` import to the top of the file.
|
||||||
```javascript
|
```javascript
|
||||||
import React, {
|
import React, {
|
||||||
AppRegistry,
|
AppRegistry,
|
||||||
|
Component,
|
||||||
Image,
|
Image,
|
||||||
ListView,
|
ListView,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
|
|
Loading…
Reference in New Issue