Badge 组件 #60
yangjinjun3
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
badge.scss:
.slot-icons 冗余一个 border-radius
.sup 冗余一个 border-radius
功能:
不支持自定义 className 和 style
doc.md:
value 类型不完整,缺少 Numbe
z-index 改成驼峰的写法;类型写的是 Number,代码实现是 String,建议都换成 Number
Props 表格中缺少默认值的加上;默认值和类型不匹配的改下
hidden 冗余
top/right 不支持支持单位设置;类型应该支持 Number 和 String
icons 为啥是复数,不就一个图标吗?感觉 NutUI 也错了?
badge.tsx:
替换 any 为具体类型
Beta Was this translation helpful? Give feedback.
All reactions