rnx-ui-navbar

0.0.3 • Public • Published

NavBar

npm npm

导航栏组件

API

Prop Type Default Required Description
style style null no 自定义样式
statusBarHeight number 0(Android) 20(iOS) no statusBar 高度
height number 56(Android) 44(iOS) no navBar 高度
title string/element '' no 标题
centerTextStyle style null no 标题文本颜色(title 为字符串时才生效)
leftBtn element null no 左侧按钮
leftEvent func () => {} no 左侧点击事件
rightBtn element null no 右侧按钮
rightEvent func () => {} no 右侧点击事件
titleGap number 50 no 标题到左右两边的距离
activeOpacity number 0.6 no 按钮点击透明度变化

Demo

Package Sidebar

Install

npm i rnx-ui-navbar

Weekly Downloads

0

Version

0.0.3

License

none

Last publish

Collaborators

  • wangdagen