Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@beisen-phoenix/mobile-badge

ux-phoenix5ISC0.1.0TypeScript support: included

null

readme

移动端徽标组件

API

属性 说明 类型 默认值
text 展示的数字或文案,当为数字时候,大于 max
时显示为 ${max}+,为 0 时隐藏
string|number -
dot 不展示数字,只有一个小红点 boolean false
max 展示封顶的数字值 number 99
menu 菜单样式 boolean false