docs(Button): update block element section

This commit is contained in:
陈嘉涵
2020-01-18 11:06:09 +08:00
parent 735ccaa042
commit 3a18622125
3 changed files with 18 additions and 21 deletions
+6 -5
View File
@@ -74,6 +74,12 @@ Vue.use(Button);
<van-button type="primary" size="mini">Mini</van-button>
```
### Block Element
```html
<van-button type="primary" block>Block Element</van-button>
```
### Route
```html
@@ -89,11 +95,6 @@ Vue.use(Button);
<van-button color="linear-gradient(to right, #4bb0ff, #6149f6)">Gradient</van-button>
```
### Block Element
```html
<van-button type="primary" block>Block Element</van-button>
```
## API
### Props