我在createDrawerNavigator
库中使用react-navigation
。
如何降低抽屉打开速度?
const DrawerStack = createDrawerNavigator(
{
Home: {
screen: HomeStack,
},
About: {
screen: Screen2Stack,
},
},
{
initialRouteName: 'Home',
contentOptions: {
activeTintColor: '#e91e63',
},
drawerWidth: 300,
}
);
答案 0 :(得分:0)