feat(Button): add icon-position prop (#7174)

This commit is contained in:
neverland
2020-09-12 20:53:51 +08:00
committed by GitHub
parent 9750984d78
commit 2c38469591
6 changed files with 57 additions and 20 deletions
+1
View File
@@ -111,6 +111,7 @@ Vue.use(Button);
| color | Color, support linear-gradient | _string_ | - |
| icon | Left Icon | _string_ | - |
| icon-prefix `v2.6.0` | Icon className prefix | _string_ | `van-icon` |
| icon-position `v2.10.7` | Icon position, can be set to `right` | `left` |
| tag | HTML Tag | _string_ | `button` |
| native-type | Native Type Attribute | _string_ | `''` |
| plain | Whether to be plain button | _boolean_ | `false` |