types(Checkbox): use tsx (#8127)

This commit is contained in:
neverland
2021-02-10 22:44:59 +08:00
committed by GitHub
parent 6d465b17a8
commit afad4ca90a
5 changed files with 52 additions and 28 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ export default {
| --- | --- | --- | --- |
| v-model | 所有选中项的标识符 | _any[]_ | - |
| disabled | 是否禁用所有复选框 | _boolean_ | `false` |
| max | 最大可选数,`0`为无限制 | _number \| string_ | `0` |
| max | 最大可选数,`0` 为无限制 | _number \| string_ | `0` |
| direction | 排列方向,可选值为 `horizontal` | _string_ | `vertical` |
| icon-size | 所有复选框的图标大小,默认单位为 `px` | _number \| string_ | `20px` |
| checked-color | 所有复选框的选中状态颜色 | _string_ | `#1989fa` |