Skip to content

Commit

Permalink
Explicitly import React
Browse files Browse the repository at this point in the history
Summary:Following this commit:
facebook@a80dd9a
Closes facebook#6910

Differential Revision: D3169295

fb-gh-sync-id: 8a82a7f9dd3b4af2e1cbfdac86842cd450023379
fbshipit-source-id: 8a82a7f9dd3b4af2e1cbfdac86842cd450023379
  • Loading branch information
sunnylqm authored and Facebook Github Bot 9 committed Apr 12, 2016
1 parent ca2fb70 commit c3824f4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c3824f4

Please sign in to comment.