@beisen-phoenix/badge-pgb
TypeScript icon, indicating that this package has built-in type declarations

3.3.55 • Public • Published

按钮封装组件

@beisen-phoenix/badge-pgb

概述

对badge组件进行封装导出一种类型的badge组件

API

参数 说明 类型 默认值 是否必传
badgeType 徽标类型有'badge' 'badgeIcon' 'badgeFont' 'badgeAvatar'可选 string 'badge'
dot 不展示数字,只有一个小红点 boolean false
number 展示的数字,大于99时显示为99+ number
size 头像尺寸 badgeAvatar类型时的属性 有small,big可选 string string

Readme

Keywords

none

Package Sidebar

Install

npm i @beisen-phoenix/badge-pgb

Weekly Downloads

27

Version

3.3.55

License

ISC

Unpacked Size

7.74 kB

Total Files

8

Last publish

Collaborators

  • beisencorp