降低抽屉打开速度

时间:2018-07-01 22:08:40

标签: react-native react-navigation

我在createDrawerNavigator库中使用react-navigation

如何降低抽屉打开速度?

const DrawerStack = createDrawerNavigator(
  {
    Home: {
      screen: HomeStack,
    },
    About: {
      screen: Screen2Stack,
    },
  },
  {
    initialRouteName: 'Home',
    contentOptions: {
      activeTintColor: '#e91e63',
    },
    drawerWidth: 300,
  }
);

1 个答案:

答案 0 :(得分:0)