DickyT / react-native-tabbar-navigator

(aka React Native Tanner Navigator) A component which builds excellent Navigator + TabBar based application, have a good solution for implementing hidesBottomBarWhenPushed in iOS.
97 stars 29 forks source link

push页面时 passProps传递的接受不到 #19

Closed bluesky0109 closed 8 years ago

bluesky0109 commented 8 years ago

pushPage() { this.props.navigator.push({ title: 'New Page', component: , passProps:{a:0,b:1} }); }

在下个页面 获取不到上个页面传递的 参数

DickyT commented 8 years ago

用法错啦应该是 pushPage() { this.props.navigator.push({ title: 'New Page', component: , }); }

DickyT commented 8 years ago
pushPage() {
this.props.navigator.push({
title: 'New Page',
component: <View a='' b=''/>,
});
}