beisen-phoenix-fork-mobile-navbar
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

常用于内容区的上方,系统状态栏的下方,并且提供在一系列页面中的导航能力, 提供异形屏的适配

API

NavBar

属性 说明 类型 默认值
prefixCls 样式前缀 string 'pm-navbar'
className 样式名称 string -
leftItems 导航左边内容 any
rightItems 导航右边内容 any
divider 是否显示底部分割线 boolean true
transparent 是否透明 boolean false
fixedTop 是否固定在头部 boolean true
fixStatus 是否适配异形屏 boolean true
style 自定义样式 object -
bgColor 背景色 string '#fff'

NavBar.Item

属性 说明 类型 默认值
icon 图标名 string 默认支持 'left', 'close', 'set'
iconColor 图标颜色 string 优先级高于NavBar设置
disabled 是否禁用 boolean false
children 子元素 any
role 自定义属性,起标识作用 string true
onClick 单击回调 function 返回{ index, role } 索引和 role

Readme

Keywords

none

Package Sidebar

Install

npm i beisen-phoenix-fork-mobile-navbar

Weekly Downloads

0

Version

0.2.5

License

ISC

Unpacked Size

314 kB

Total Files

18

Last publish

Collaborators

  • beisencorp