mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs(ActionBar): fix docs error (#11864)
This commit is contained in:
parent
467243d495
commit
57f115bee2
@ -113,7 +113,7 @@ Use `badge` prop to show badge in icon.
|
||||
| Attribute | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| text | Button text | _string_ | - |
|
||||
| type | Button type, Can be set to `primary` `info` `warning` `danger` | _string_ | `default` |
|
||||
| type | Button type, Can be set to `default` `primary` `success` `warning` `danger` | _string_ | `default` |
|
||||
| color | Button color, support linear-gradient | _string_ | - |
|
||||
| icon | Left Icon | _string_ | - |
|
||||
| disabled | Whether to disable button | _boolean_ | `false` |
|
||||
|
@ -117,7 +117,7 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| text | 按钮文字 | _string_ | - |
|
||||
| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | _string_ | `default` |
|
||||
| type | 按钮类型,可选值为 `default` `primary` `success` `warning` `danger` | _string_ | `default` |
|
||||
| color | 按钮颜色,支持传入 `linear-gradient` 渐变色 | _string_ | - |
|
||||
| icon | 左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props) | _string_ | - |
|
||||
| disabled | 是否禁用按钮 | _boolean_ | `false` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user