我正在寻找一种在抽屉内制作抽屉的方法,就像双层菜单一样。这就是我想做的。
https://dribbble.com/shots/2139038-Double-menu
const drawerNavigatorConfig = {
drawerType: "slide"
};
export const Navigator = createDrawerNavigator(
{
home: {
screen: HomeScreen,
navigationOptions: {
drawerLabel: "Home Screen"
}
},
test: {
screen: TestScreen,
navigationOptions: {
drawerLabel: "Test Screen"
}
},
},
drawerNavigatorConfig
);
我根本找不到实现这种双菜单想法的方法。