【问题标题】:wix react-native-navigation change tab animationwix react-native-navigation 更改选项卡动画
【发布时间】:2019-09-28 14:13:12
【问题描述】:

有什么方法可以在 react-native-navigation 中使用 bottomTabs 布局设置屏幕之间的过渡动​​画?

预期行为:

反应原生:0.61.1

反应原生导航:3.2.0

{
    bottomTabs: {
        id: 'BottomTabs',
        children: [
            {
                stack: {
                    children: [
                        {
                            component: {
                                id: 'tab1',
                                name: 'Tab2Screen',
                            },
                        },
                    ],
                    options: {
                        bottomTab: {
                            icon: homeIcon,
                            text: 'Tab1'
                        },
                    },
                },
            }, {
                stack: {
                    children: [
                        {
                            component: {
                                id: 'tab2',
                                name: 'Tab2Screen',
                            },
                        },
                    ],
                    options: {
                        bottomTab: {
                            icon: 'homeIcon',
                            text: 'Tab2'
                        },
                    },
                },
            },
        ],
    }
}

【问题讨论】:

  • 嗨,你找到解决办法了吗?

标签: android react-native wix-react-native-navigation react-native-navigation-v2


【解决方案1】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-01-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-01
    相关资源
    最近更新 更多