mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[Improvement] Button: add text prop (#563)
This commit is contained in:
@@ -69,6 +69,7 @@ Use `tag` prop to custom button tag
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| type | Type | `String` | `default` | `primary` `danger` |
|
||||
| size | Size | `String` | `normal` | `large` `small` `mini` |
|
||||
| text | Text | `String` | - | - |
|
||||
| tag | Tag | `String` | `button` | - |
|
||||
| native-type | Native Type Attribute | `String` | `''` | - |
|
||||
| disabled | Whether disable button | `Boolean` | `false` | - |
|
||||
|
Reference in New Issue
Block a user