Skip to content

Commit

Permalink
import React, { Component } from 'react' instead of 'react-native' in…
Browse files Browse the repository at this point in the history
… React Native 0.25
  • Loading branch information
zongjingyao committed May 19, 2016
1 parent 5b9dbbe commit f46d30f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AppTest.js
Expand Up @@ -9,9 +9,9 @@ var MessageBarAlert = require('./MessageBar.js');
var MessageBarManager = require('./MessageBarManager.js');
var CustomChildComponent = require('./CustomChildComponent.js');

import React, {
import React, {Component} from 'react'
import {
AppRegistry,
Component,
StyleSheet,
Text,
View,
Expand Down
4 changes: 2 additions & 2 deletions CustomChildComponent.js
Expand Up @@ -7,9 +7,9 @@

var MessageBarManager = require('./MessageBarManager.js');

import React, {
import React, {Component} from 'react'
import {
AppRegistry,
Component,
StyleSheet,
Text,
View,
Expand Down
4 changes: 2 additions & 2 deletions MessageBar.js
Expand Up @@ -5,9 +5,9 @@
*/
'use strict';

import React, {
import React, {Component} from 'react'
import {
AppRegistry,
Component,
StyleSheet,
Text,
View,
Expand Down

0 comments on commit f46d30f

Please sign in to comment.