如何使用react-native-navigatio v1制作顶层标签? 这是我的bottomtabs代码,它很好用。 如何将此标签放在标题下方的顶部栏中
const startTabs = () => {
Navigation.startTabBasedApp({
tabs: [
{
screen: "my-app.FindPlaceScreen",
label: "Find Place",
title: "Find Place",
icon: ..img,
navigatorButtons: {
leftButtons: [
{
icon: sources[2],
title: "Menu",
id: "sideDrawerToggle"
} ] } },
{
screen: "my-app.SharePlaceScreen",
label: "Share Place",
title: "Share Place",
icon: ..img,
navigatorButtons: {
leftButtons: [
{
icon: sources[2],
title: "Menu",
id: "sideDrawerToggle"
} ]} }
],
drawer: {
left: {
screen: "my-app.SideDrawer"
}
}