فهرست منبع

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

hisland 8 سال پیش
والد
کامیت
b421556144
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      examples/docs/en-US/radio.md
  2. 2 2
      examples/docs/zh-CN/radio.md

+ 2 - 2
examples/docs/en-US/radio.md

@@ -124,6 +124,8 @@ name | native 'name' attribute | string    |      —         |     —
  Attribute      | Description          | Type      | Accepted Values       | Default  
 ---- | ---- | ---- | ---- | ----
 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
 
@@ -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 | — | —
 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   |
 
 

+ 2 - 2
examples/docs/zh-CN/radio.md

@@ -127,6 +127,8 @@
 | 参数      | 说明    | 类型      | 可选值       | 默认值   |
 |---------- |-------- |---------- |-------------  |-------- |
 | size     | Radio 按钮组尺寸   | string  | large, small  |    —     |
+| fill  | 按钮激活时的填充色和边框色    | string   | — | #20a0ff   |
+| text-color  | 按钮激活时的文本颜色    | string   | — | #ffffff   |
 
 ### Radio-group Events
 | 事件名称 | 说明 | 回调参数 |
@@ -138,5 +140,3 @@
 |---------- |-------- |---------- |-------------  |-------- |
 | label     | Radio 的 value  | string,number  |        —       |     —    |
 | disabled  | 是否禁用    | boolean   | — | false   |
-| fill  | 按钮激活时的填充色和边框色    | string   | — | #20a0ff   |
-| text-color  | 按钮激活时的文本颜色    | string   | — | #ffffff   |