Update imports in generated projects

Summary:Fixes warnings when React API is used by requiring 'react-native'.
Closes https://github.com/facebook/react-native/pull/7060

Differential Revision: D3196109

Pulled By: mkonicek

fb-gh-sync-id: b47afc138cd7909ad53c0d67a65e3a124b87134b
fbshipit-source-id: b47afc138cd7909ad53c0d67a65e3a124b87134b
This commit is contained in:
Mike Grabowski 2016-04-19 05:10:23 -07:00 committed by Facebook Github Bot 4
parent 546d140ec7
commit d9349a7b79
2 changed files with 4 additions and 4 deletions

View File

@ -3,9 +3,9 @@
* https://github.com/facebook/react-native
*/
import React, {
import React, { Component } from 'react';
import {
AppRegistry,
Component,
StyleSheet,
Text,
View

View File

@ -4,9 +4,9 @@
* @flow
*/
import React, {
import React, { Component } from 'react';
import {
AppRegistry,
Component,
StyleSheet,
Text,
View