-
组件布局 Layout视图 View导航 Navigation反馈 Feedback
标记 Badge
何时使用
用来醒目的展示新的或未读的信息条目
如何使用
import { Badge } from 'tinper-bee';
or
import Badge from 'bee-badge';
import 'bee-badge/build/Badge.css';
能力特性
API
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
colors | one of: primary success info error warning dark |
string | '' |
dataBadge | 图标右上角的数字 | obj/string/node | - |
dataBadgePlacement | 数字显示位置 oneOf:top,bottom | string | top |
className | 增加额外的class | string | '' |
注意事项
暂无