docs(Button): fix icon-position missing type

This commit is contained in:
chenjiahan 2020-09-26 22:30:55 +08:00
parent d021a1c975
commit 0252710155
2 changed files with 4 additions and 4 deletions

View File

@ -111,7 +111,7 @@ Vue.use(Button);
| color | Color, support linear-gradient | _string_ | - | | color | Color, support linear-gradient | _string_ | - |
| icon | Left Icon | _string_ | - | | icon | Left Icon | _string_ | - |
| icon-prefix `v2.6.0` | Icon className prefix | _string_ | `van-icon` | | icon-prefix `v2.6.0` | Icon className prefix | _string_ | `van-icon` |
| icon-position `v2.10.7` | Icon position, can be set to `right` | `left` | | icon-position `v2.10.7` | Icon position, can be set to `right` | _string_ | `left` |
| tag | HTML Tag | _string_ | `button` | | tag | HTML Tag | _string_ | `button` |
| native-type | Native Type Attribute | _string_ | `''` | | native-type | Native Type Attribute | _string_ | `''` |
| plain | Whether to be plain button | _boolean_ | `false` | | plain | Whether to be plain button | _boolean_ | `false` |

View File

@ -133,7 +133,7 @@ Vue.use(Button);
| color | 按钮颜色,支持传入 `linear-gradient` 渐变色 | _string_ | - | | color | 按钮颜色,支持传入 `linear-gradient` 渐变色 | _string_ | - |
| icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - | | icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - |
| icon-prefix `v2.6.0` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` | | icon-prefix `v2.6.0` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |
| icon-position `v2.10.7` | 图标展示位置,可选值为 `right` | `left` | | icon-position `v2.10.7` | 图标展示位置,可选值为 `right` | _string_ | `left` |
| tag | 按钮根节点的 HTML 标签 | _string_ | `button` | | tag | 按钮根节点的 HTML 标签 | _string_ | `button` |
| native-type | 原生 button 标签的 type 属性 | _string_ | - | | native-type | 原生 button 标签的 type 属性 | _string_ | - |
| block | 是否为块级元素 | _boolean_ | `false` | | block | 是否为块级元素 | _boolean_ | `false` |