|
|
|
|
14
|
SHOW_YELLOW_BOX_BTN,
|
14
|
SHOW_YELLOW_BOX_BTN,
|
15
|
SET_REACT_TITLE_VIEW,
|
15
|
SET_REACT_TITLE_VIEW,
|
16
|
GOTO_BUTTONS_SCREEN,
|
16
|
GOTO_BUTTONS_SCREEN,
|
17
|
- GOTO_SHARED_ELEMENT_SCREEN
|
|
|
18
|
} = require('../testIDs');
|
17
|
} = require('../testIDs');
|
19
|
|
18
|
|
20
|
class Options extends Component {
|
19
|
class Options extends Component {
|
|
|
|
|
42
|
<Button label='Show Yellow Box' testID={SHOW_YELLOW_BOX_BTN} onPress={() => console.warn('Yellow Box')} />
|
41
|
<Button label='Show Yellow Box' testID={SHOW_YELLOW_BOX_BTN} onPress={() => console.warn('Yellow Box')} />
|
43
|
<Button label='StatusBar' onPress={this.statusBarScreen} />
|
42
|
<Button label='StatusBar' onPress={this.statusBarScreen} />
|
44
|
<Button label='Buttons Screen' testID={GOTO_BUTTONS_SCREEN} onPress={this.goToButtonsScreen} />
|
43
|
<Button label='Buttons Screen' testID={GOTO_BUTTONS_SCREEN} onPress={this.goToButtonsScreen} />
|
45
|
- <Button label='Shared element' testID={GOTO_SHARED_ELEMENT_SCREEN} onPress={this.goToSharedElementScreen} />
|
|
|
46
|
</Root>
|
44
|
</Root>
|
47
|
);
|
45
|
);
|
48
|
}
|
46
|
}
|
|
|
|
|
104
|
statusBarScreen = () => Navigation.showModal(Screens.StatusBar);
|
102
|
statusBarScreen = () => Navigation.showModal(Screens.StatusBar);
|
105
|
|
103
|
|
106
|
goToButtonsScreen = () => Navigation.push(this, Screens.Buttons);
|
104
|
goToButtonsScreen = () => Navigation.push(this, Screens.Buttons);
|
107
|
-
|
|
|
108
|
- goToSharedElementScreen = () => Navigation.push(this, Screens.SharedElement);
|
|
|
109
|
}
|
105
|
}
|
110
|
|
106
|
|
111
|
module.exports = Options;
|
107
|
module.exports = Options;
|