Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Example: next screen for tab1_1 of Tab #1 #2570

Merged
merged 1 commit into from
Nov 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Example/components/TabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class TabView extends React.Component {
<View style={[styles.container, this.props.sceneStyle]}>
<Text>Tab title:{this.props.title} name:{this.props.name}</Text>
<Text>Tab data:{this.props.data}</Text>
{this.props.name === 'tab_1_1' &&
<Button onPress={() => Actions.tab_1_2()}>next screen for tab1_1</Button>
{this.props.name === 'tab1_1' &&
<Button onPress={() => Actions.tab1_2()}>next screen for tab1_1</Button>
}
{this.props.name === 'tab_2_1' &&
<Button onPress={() => Actions.tab_2_2()}>next screen for tab2_1</Button>
Expand Down