docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+11 -11
View File
@@ -68,17 +68,17 @@ Search support all native properties of input tagsuch as `maxlength`、`place
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| label | Search label | `string` | - | - |
| shape | Can be set to `round` | `string` | `square` | - |
| background | Background color | `string` | `#f2f2f2` | - |
| clearable | Whether to be clearable | `boolean` | `true` | - |
| show-action | Whether to show right button | `boolean` | `false` | - |
| disabled | Whether to disable field | `boolean` | `false` | - |
| 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` | - | - |
| label | Search label | *string* | - | - |
| shape | Can be set to `round` | *string* | `square` | - |
| background | Background color | *string* | `#f2f2f2` | - |
| clearable | Whether to be clearable | *boolean* | `true` | - |
| show-action | Whether to show right button | *boolean* | `false` | - |
| disabled | Whether to disable field | *boolean* | `false` | - |
| 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