抽屉打开时,将底部TabBar左右滑动

时间:2020-08-23 06:58:20

标签: react-native react-navigation react-navigation-drawer react-navigation-bottom-tab

我正在尝试在抽屉打开时滑动底部的TabBar,并且它仅滑动页眉

抽屉:

 const SilderNavigator = createDrawerNavigator({
  Home : HomeStackNavigator ,
},
{
  contentComponent : MenuContentComponent ,
  drawerType : "slide" ,
})

TabBar:

const BottomBarNavigation = createBottomTabNavigator({
  home: SilderNavigator,
  notification: NotificaStack
  ... })

StackNavigator将导航器包装在一起:

const BaseNavigator = createStackNavigator({
  BottomBarNavigation : BottomBarNavigation,
  Details : {screen : Details, ...}
  ... })

0 个答案:

没有答案