docs: 📝 remove deparecated button type

This commit is contained in:
afc163 2020-09-17 23:06:55 +08:00
parent 5b5518acfb
commit 90cfb0d25f
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Different button styles can be generated by setting Button properties. The recom
| shape | Can be set to `circle`, `round` or omitted | string | - | |
| size | Set the size of button | `large` \| `middle` \| `small` | - | |
| target | Same as target attribute of a, works when href is specified | string | - | |
| type | Can be set to `primary` `ghost` `dashed` `danger` `link` `text` `default` | string | `default` | |
| type | Can be set to `primary` `ghost` `dashed` `link` `text` `default` | string | `default` | |
It accepts all props which native buttons support.

View File

@ -47,7 +47,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/fNUKzY1sk/Button.svg
| shape | 设置按钮形状,可选值为 `circle``round` 或者不设 | string | - | |
| size | 设置按钮大小 | `large` \| `middle` \| `small` | - | |
| target | 相当于 a 链接的 target 属性href 存在时生效 | string | - | |
| type | 设置按钮类型 | `primary` \| `ghost` \| `dashed` \| `danger` \| `link` \| `text` \| `default` | `default` | |
| type | 设置按钮类型 | `primary` \| `ghost` \| `dashed` \| `link` \| `text` \| `default` | `default` | |
支持原生 button 的其他所有属性。