我想将整个导航内容包装在以下样板中:
<ScrollView showsVerticalScrollIndicator={false}>
<View>
<View>
<Navbar />
</View>
<View style={styles.bodyWrapper}>
// Navigation setup here
</View>
</View>
</ScrollView>
基本上这是我的路由设置:
Navigation.setDefaultOptions({
topBar: {
visible: false,
drawBehind: true
}
})
Navigation.registerComponent("myapp.Home", () => Home)
Navigation.setRoot({
root: {
stack: {
children: [{
component: {
name: 'myapp.Home'
}
}]
}
}
})
有可能实现吗?