代码之家  ›  专栏  ›  技术社区  ›  Saeed Heidarizarei

降低抽屉打开速度

  •  0
  • Saeed Heidarizarei  · 技术社区  · 6 年前

    我在用 createDrawerNavigator 具有 react-navigation 图书馆。

    如何降低抽屉打开的速度?

    const DrawerStack = createDrawerNavigator(
      {
        Home: {
          screen: HomeStack,
        },
        About: {
          screen: Screen2Stack,
        },
      },
      {
        initialRouteName: 'Home',
        contentOptions: {
          activeTintColor: '#e91e63',
        },
        drawerWidth: 300,
      }
    );
    
    1 回复  |  直到 6 年前