加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

react-native试玩(12)-iOS中导航栏

发布时间:2020-12-15 04:48:58 所属栏目:百科 来源:网络整理
导读:NavigatorIOS 属性 名称 类型 意义 默认值 barTintColor string 导航栏的背景颜色 无 initialRoute {component: function,title: string,passProps: object,backButtonIcon: Image.propTypes.source,backButtonTitle: string,leftButtonIcon: Image.propType

NavigatorIOS

属性

名称 类型 意义 默认值
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 设置导航栏是否半透明

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读