mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 22:32:38 +08:00
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:
committed by
facebook-github-bot-7
parent
35e1fd8826
commit
f7cb745195
@@ -59,6 +59,7 @@ We're going to render the title, year, and thumbnail for the movie. Since thumbn
|
||||
```javascript
|
||||
import React, {
|
||||
AppRegistry,
|
||||
Component,
|
||||
Image,
|
||||
StyleSheet,
|
||||
Text,
|
||||
@@ -296,6 +297,7 @@ First things first: add the `ListView` import to the top of the file.
|
||||
```javascript
|
||||
import React, {
|
||||
AppRegistry,
|
||||
Component,
|
||||
Image,
|
||||
ListView,
|
||||
StyleSheet,
|
||||
|
||||
Reference in New Issue
Block a user