mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 22:49:15 +08:00
docs(Button): fix color prop version
This commit is contained in:
parent
6ab39eefe8
commit
b15efa94a6
@ -97,7 +97,7 @@ Vue.use(Button);
|
|||||||
| type | Can be set to `primary` `info` `warning` `danger` | *string* | `default` | - |
|
| type | Can be set to `primary` `info` `warning` `danger` | *string* | `default` | - |
|
||||||
| size | Can be set to `large` `small` `mini` | *string* | `normal` | - |
|
| size | Can be set to `large` `small` `mini` | *string* | `normal` | - |
|
||||||
| text | Text | *string* | - | - |
|
| text | Text | *string* | - | - |
|
||||||
| color | Color, support linear-gradient | *string* | - | 2.1.3 |
|
| color | Color, support linear-gradient | *string* | - | 2.1.8 |
|
||||||
| icon | Left Icon | *string* | - | - |
|
| icon | Left Icon | *string* | - | - |
|
||||||
| tag | HTML Tag | *string* | `button` | - |
|
| tag | HTML Tag | *string* | `button` | - |
|
||||||
| native-type | Native Type Attribute | *string* | `''` | - |
|
| native-type | Native Type Attribute | *string* | `''` | - |
|
||||||
|
@ -117,7 +117,7 @@ Vue.use(Button);
|
|||||||
| type | 类型,可选值为 `primary` `info` `warning` `danger` | *string* | `default` | - |
|
| type | 类型,可选值为 `primary` `info` `warning` `danger` | *string* | `default` | - |
|
||||||
| size | 尺寸,可选值为 `large` `small` `mini` | *string* | `normal` | - |
|
| size | 尺寸,可选值为 `large` `small` `mini` | *string* | `normal` | - |
|
||||||
| text | 按钮文字 | *string* | - | - |
|
| text | 按钮文字 | *string* | - | - |
|
||||||
| color | 按钮颜色,支持传入`linear-gradient`渐变色 | *string* | - | 2.1.3 |
|
| color | 按钮颜色,支持传入`linear-gradient`渐变色 | *string* | - | 2.1.8 |
|
||||||
| icon | 左侧图标名称或图片链接,可选值见 [Icon 组件](/#/zh-CN/icon) | *string* | - | - |
|
| icon | 左侧图标名称或图片链接,可选值见 [Icon 组件](/#/zh-CN/icon) | *string* | - | - |
|
||||||
| tag | HTML 标签 | *string* | `button` | - |
|
| tag | HTML 标签 | *string* | `button` | - |
|
||||||
| native-type | 原生 button 标签 type 属性 | *string* | - | - |
|
| native-type | 原生 button 标签 type 属性 | *string* | - | - |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user