Skip to content

Commit

Permalink
fix: next screen for tab1_1 of Example Tab #1 (#2570)
Browse files Browse the repository at this point in the history
PhoebePan authored and aksonov committed Nov 4, 2017
1 parent 48ac33f commit cc8df4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/components/TabView.js
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit cc8df4e

Please sign in to comment.