react-native-template-qqm
Advanced tools
Comparing version 0.1.3 to 0.1.4
import React from 'react'; | ||
import { Platform } from 'react-native'; | ||
import { StackNavigator } from 'react-navigation'; | ||
import CardStackStyleInterpolator from 'react-navigation/src/views/CardStackStyleInterpolator'; //动画使用react-navgation内部的动画 | ||
import { navigation } from './utils'; | ||
@@ -47,2 +48,3 @@ import { TitleButton } from './components'; | ||
headerStyle: { | ||
backgroundColor: '#51CEE0', | ||
...Platform.select({ | ||
@@ -69,2 +71,3 @@ android: { | ||
headerMode: 'screen', | ||
transitionConfig: () => ({ screenInterpolator: CardStackStyleInterpolator.forHorizontal }) | ||
} | ||
@@ -71,0 +74,0 @@ ); |
import React, { Component } from 'react'; | ||
import { | ||
View, | ||
Button | ||
View | ||
} from 'react-native'; | ||
import { navigation } from '@app/utils'; | ||
import { Button } from '@app/components'; | ||
@@ -8,0 +8,0 @@ class Home extends Component { |
import React, { Component } from 'react'; | ||
import { | ||
View, | ||
Text, | ||
Button | ||
} from 'react-native'; | ||
import { navigation } from '@app/utils'; | ||
import { Button } from '@app/components'; | ||
@@ -9,0 +9,0 @@ class Page1 extends Component { |
import React, { Component } from 'react'; | ||
import { | ||
View, | ||
Text, | ||
Button | ||
} from 'react-native'; | ||
import { navigation } from '@app/utils'; | ||
import { Button } from '@app/components'; | ||
@@ -9,0 +9,0 @@ class Page2 extends Component { |
import React, { Component } from 'react'; | ||
import { | ||
View, | ||
Text, | ||
Button | ||
} from 'react-native'; | ||
import { navigation } from '@app/utils'; | ||
import { Button } from '@app/components'; | ||
@@ -9,0 +9,0 @@ class Page3 extends Component { |
import React, { Component } from 'react'; | ||
import { | ||
View, | ||
Text, | ||
Button | ||
} from 'react-native'; | ||
import { navigation } from '@app/utils'; | ||
import { Button } from '@app/components'; | ||
@@ -9,0 +9,0 @@ class Page4 extends Component { |
import React, { Component } from 'react'; | ||
import { | ||
View, | ||
Text, | ||
Button | ||
} from 'react-native'; | ||
import { navigation } from '@app/utils'; | ||
import { Button } from '@app/components'; | ||
@@ -9,0 +9,0 @@ class Page5 extends Component { |
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: Lockie | ||
* @Last Modified time: 2017-05-22 16:18:08 | ||
* @Last Modified time: 2017-06-15 11:54:06 | ||
*/ | ||
@@ -19,12 +19,4 @@ | ||
function* watchAdress() { | ||
while (true) { | ||
const response = yield take('pubApi/adresss/success'); | ||
console.log(response); //包含了req和res | ||
} | ||
} | ||
export default function* () { | ||
yield fork(watchAd); | ||
yield fork(watchAdress); | ||
} |
{ | ||
"name": "react-native-template-qqm", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "react-native template for qqm", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28235
893