Commit b4215561 authored by hisland's avatar hisland Committed by cinwell.li

Radio: fix doc, text-color,fill are Radio-group's props

parent 51fab864
...@@ -124,6 +124,8 @@ name | native 'name' attribute | string | — | — ...@@ -124,6 +124,8 @@ name | native 'name' attribute | string | — | —
Attribute | Description | Type | Accepted Values | Default Attribute | Description | Type | Accepted Values | Default
---- | ---- | ---- | ---- | ---- ---- | ---- | ---- | ---- | ----
size | the size of radio buttons | string | large/small | — size | the size of radio buttons | string | large/small | —
fill | border and background color when button is active | string | — | #20a0ff |
text-color | font color when button is active | string | — | #ffffff |
### Radio-group Events ### Radio-group Events
...@@ -137,7 +139,5 @@ change | triggers when the bound value changes | the label value of the chosen r ...@@ -137,7 +139,5 @@ change | triggers when the bound value changes | the label value of the chosen r
---- | ---- | ---- | ---- | ---- ---- | ---- | ---- | ---- | ----
label | the value of radio | string/number | — | — label | the value of radio | string/number | — | —
disabled | whether radio is disabled | boolean | — | false disabled | whether radio is disabled | boolean | — | false
fill | border and background color when button is active | string | — | #20a0ff |
text-color | font color when button is active | string | — | #ffffff |
...@@ -127,6 +127,8 @@ ...@@ -127,6 +127,8 @@
| 参数 | 说明 | 类型 | 可选值 | 默认值 | | 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------- |---------- |------------- |-------- | |---------- |-------- |---------- |------------- |-------- |
| size | Radio 按钮组尺寸 | string | large, small | — | | size | Radio 按钮组尺寸 | string | large, small | — |
| fill | 按钮激活时的填充色和边框色 | string | — | #20a0ff |
| text-color | 按钮激活时的文本颜色 | string | — | #ffffff |
### Radio-group Events ### Radio-group Events
| 事件名称 | 说明 | 回调参数 | | 事件名称 | 说明 | 回调参数 |
...@@ -138,5 +140,3 @@ ...@@ -138,5 +140,3 @@
|---------- |-------- |---------- |------------- |-------- | |---------- |-------- |---------- |------------- |-------- |
| label | Radio 的 value | string,number | — | — | | label | Radio 的 value | string,number | — | — |
| disabled | 是否禁用 | boolean | — | false | | disabled | 是否禁用 | boolean | — | false |
| fill | 按钮激活时的填充色和边框色 | string | — | #20a0ff |
| text-color | 按钮激活时的文本颜色 | string | — | #ffffff |
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment