属性
名称 | 类型 | 意义 | 默认值 |
---|---|---|---|
barTintColor | string | 导航栏的背景颜色 | 无 |
initialRoute | {component: function,title: string,passProps: object,backButtonIcon: Image.propTypes.source,backButtonTitle: string,leftButtonIcon: Image.propTypes.source,leftButtonTitle: string,onLeftButtonPress: function,rightButtonIcon: Image.propTypes.source,rightButtonTitle: string,onRightButtonPress: function,wrapperStyle: [object Object]} | 一个route代表一个子视图 | 无 |
itemWrapperStyle | style | 导航栏的样式 | 无 |
navigationBarHidden | bool | 设置导航栏是否隐藏 | false |
shadowHidden | bool | 是否隐藏1个像素的阴影部分(可能是导航栏的特殊地方) | 无 |
tintColor | string | 导航栏上button颜色 | 无 |
titleTextColor | string | 导航栏上文本的颜色 | 无 |
translucent | bool | 设置导航栏是否半透明 | 无 |
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。