Skip to content

uxcore/uxcore-badge

Repository files navigation


uxcore-badge

Test Coverage Dependency Status devDependency Status

TL;DR

uxcore-badge ui component for react

setup develop environment

$ git clone https://github.com/uxcore/uxcore-badge
$ cd uxcore-badge
$ npm install
$ gulp server

Usage

demo

http://uxcore.github.io/

API

Props

配置项 类型 必填 默认值 功能/备注
prefixCls string optional kuma-badge 类名前缀,不想使用 kuma 主题时使用
className string optional - 额外类名
count number optional - 展示的数字,大于 overflowCount 时显示为 overflowCount+,为 0 时隐藏
overflowCount number optional 99 展示封顶的数字值
dot boolean optional false 不展示数字,只有一个小红点
text string optional "" 展示的文字
themeType string optional default 主题,枚举值,default、dark,dark 用于深色背景下

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •