Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9bcb6dc

Browse files
committed
Merge pull request #124 from johannhof/master
Require React API from the react package
2 parents f5c55fd + b988bb3 commit 9bcb6dc

23 files changed

+69
-24
lines changed

‎components/NavBarContainer.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import React, { StyleSheet, View, PropTypes, Platform, BackAndroid, Text } from 'react-native';
1+
import React, {PropTypes} from "react";
2+
import{
3+
StyleSheet,
4+
View,
5+
Platform,
6+
BackAndroid,
7+
Text
8+
} from 'react-native';
29

310
import NavBarContent from './NavBarContent';
411
import * as Styles from '../styles';

‎components/NavBarContent.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
import React, { StyleSheet, Text, View, Animated, Easing, PropTypes, Platform } from 'react-native';
1+
import React, {PropTypes} from "react";
2+
import {
3+
StyleSheet,
4+
Text,
5+
View,
6+
Animated,
7+
Easing,
8+
Platform
9+
} from 'react-native';
210
import NavButton from './NavButton';
311
import * as Styles from '../styles';
412

‎components/NavButton.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import React, { StyleSheet, Text, View, TouchableHighlight, PropTypes } from 'react-native';
1+
import React, {PropTypes} from "react";
2+
import {
3+
StyleSheet,
4+
Text,
5+
View,
6+
TouchableHighlight
7+
} from 'react-native';
28

39
const propTypes = {
410
backButtonComponent: PropTypes.func,

‎examples/Explorer/Page.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, {
1+
import React from "react";
2+
import {
23
StyleSheet,
34
Text,
45
View,

‎examples/Explorer/components/LeftCorner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import React, {
1+
import React, {PropTypes} from "react";
2+
import {
23
StyleSheet,
34
View,
45
TouchableHighlight,
56
Image,
6-
PropTypes,
77
} from 'react-native';
88

99
const propTypes = {

‎examples/Explorer/components/RightCorner.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, {
1+
import React from "react";
2+
import {
23
StyleSheet,
34
View,
45
TouchableHighlight,

‎examples/Explorer/index.android.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, {
1+
import React, {PropTypes} from "react";
2+
import {
23
AppRegistry,
34
StyleSheet,
45
} from 'react-native';

‎examples/Explorer/index.ios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, {
1+
import React, {PropTypes} from "react";
2+
import {
23
AppRegistry,
34
StyleSheet,
45
} from 'react-native';

‎examples/twitter-example/components/BackButton.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { StyleSheet, Image } from 'react-native';
1+
import React from "react";
2+
import { StyleSheet, Image } from 'react-native';
23

34
export default class BackButton extends React.Component {
45
render() {

‎examples/twitter-example/components/RightCorner.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { StyleSheet, View } from 'react-native';
1+
import React from "react";
2+
import { StyleSheet, View } from 'react-native';
23

34
export default class RightCorner extends React.Component {
45
render() {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /