[new feature] Search: add right-icon prop

This commit is contained in:
陈嘉涵
2019-05-27 14:55:07 +08:00
parent ac431276f9
commit 613679c2aa
5 changed files with 34 additions and 2 deletions
+2 -1
View File
@@ -68,7 +68,6 @@ Search support all native properties of input tagsuch as `maxlength`、`place
| Attribute | Description | Type | Default |
|------|------|------|------|
| label | Search label | `String` | - |
| left-icon | Left icon name | `String` | `search` |
| shape | Can be set to `round` | `String` | `square` |
| background | Background color | `String` | `#f2f2f2` |
| show-action | Whether to show right button | `Boolean` | `false` |
@@ -76,6 +75,8 @@ Search support all native properties of input tagsuch as `maxlength`、`place
| readonly | Whether to be readonly | `Boolean` | `false` |
| error | Whether to show error info | `Boolean` | `false` |
| input-align | Input text align, can be set to `center` `right` | `String` | `left` |
| left-icon | Left icon name | `String` | `search` |
| right-icon | Right icon name | `String` | - |
### Events