docs: update numeric type
This commit is contained in:
+2
-2
@@ -141,7 +141,7 @@ export default {
|
||||
| disabled | Whether to disable radio | *boolean* | `false` |
|
||||
| label-disabled | Whether to disable label click | *boolean* | `false` |
|
||||
| label-position | Can be set to `left` | *string* | `right` |
|
||||
| icon-size | Icon size | *string \| number* | `20px` |
|
||||
| icon-size | Icon size | *number \| string* | `20px` |
|
||||
| checked-color | Checked color | *string* | `#1989fa` | - |
|
||||
|
||||
### RadioGroup Props
|
||||
@@ -150,7 +150,7 @@ export default {
|
||||
|------|------|------|------|
|
||||
| v-model | Name of checked radio | *any* | - |
|
||||
| disabled | Disable all radios | *boolean* | `false` |
|
||||
| icon-size `v2.2.3` | Icon size of all radios | *string \| number* | `20px` |
|
||||
| icon-size `v2.2.3` | Icon size of all radios | *number \| string* | `20px` |
|
||||
| checked-color `v2.2.3` | Checked color of all radios | *string* | `#1989fa` | - |
|
||||
|
||||
### Radio Events
|
||||
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
| disabled | 是否为禁用状态 | *boolean* | `false` |
|
||||
| label-disabled | 是否禁用文本内容点击 | *boolean* | `false` |
|
||||
| label-position | 文本位置,可选值为 `left` | *string* | `right` |
|
||||
| icon-size | 图标大小,默认单位为`px` | *string \| number* | `20px` |
|
||||
| icon-size | 图标大小,默认单位为`px` | *number \| string* | `20px` |
|
||||
| checked-color | 选中状态颜色 | *string* | `#1989fa` |
|
||||
|
||||
### RadioGroup Props
|
||||
@@ -160,7 +160,7 @@ export default {
|
||||
|------|------|------|------|
|
||||
| v-model | 当前选中项的标识符 | *any* | - |
|
||||
| disabled | 是否禁用所有单选框 | *boolean* | `false` |
|
||||
| icon-size `v2.2.3` | 所有单选框的图标大小,默认单位为`px` | *string \| number* | `20px` |
|
||||
| icon-size `v2.2.3` | 所有单选框的图标大小,默认单位为`px` | *number \| string* | `20px` |
|
||||
| checked-color `v2.2.3` | 所有单选框的选中状态颜色 | *string* | `#1989fa` |
|
||||
|
||||
### Radio Events
|
||||
|
||||
Reference in New Issue
Block a user