[new feature] Search: add left-icon prop

This commit is contained in:
陈嘉涵
2019-05-27 10:39:27 +08:00
parent 73f34be3a8
commit ac431276f9
5 changed files with 33 additions and 2 deletions
+1
View File
@@ -68,6 +68,7 @@ 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` |