We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfd543 commit 9914edaCopy full SHA for 9914eda
index.js
@@ -30,6 +30,7 @@ const propTypes = {
30
statusBarColor: PropTypes.string,
31
statusBarProps: PropTypes.object,
32
titleStyle: Text.propTypes.style,
33
+ sceneConfig: PropTypes.object,
34
};
35
36
const styles = StyleSheet.create({
@@ -51,6 +52,7 @@ class Router extends React.Component {
51
52
this.onToFirstRoute = this.onToFirstRoute.bind(this);
53
this.customAction = this.customAction.bind(this);
54
this.renderScene = this.renderScene.bind(this);
55
+ this.configureScene = this.configureScene.bind(this);
56
57
this.onWillPop = this.onWillPop.bind(this);
58
this.onDidPop = this.onDidPop.bind(this);
@@ -242,7 +244,7 @@ class Router extends React.Component {
242
244
}
243
245
246
configureScene(route) {
- return route.sceneConfig || Navigator.SceneConfigs.FloatFromRight;
247
+ return route.sceneConfig || this.props.sceneConfig||Navigator.SceneConfigs.FloatFromRight;
248
249
250
renderScene(route, navigator) {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments