feat(Rate): add touchable prop (#4361)

This commit is contained in:
neverland
2019-09-04 17:28:43 +08:00
committed by GitHub
parent a3b6744b24
commit 0bd3997373
5 changed files with 26 additions and 5 deletions
+2 -1
View File
@@ -100,12 +100,13 @@ export default {
| gutter | Icon gutter | *string \| number* | `4px` | - |
| color | Selected color | *string* | `#ffd21e` | - |
| void-color | Void color | *string* | `#c7c7c7` | - |
| disabled-color | Disabled color | *string* | `#bdbdbd` | - |
| icon | Selected icon | *string* | `star` | - |
| void-icon | Void icon | *string* | `star-o` | - |
| allow-half | Whether to allow half star | *boolean* | `false` | - |
| readonly | Whether to be readonly | *boolean* | `false` | - |
| disabled | Whether to disable rate | *boolean* | `false` | - |
| disabled-color | Disabled color | *string* | `#bdbdbd` | - |
| touchable | Whether to allow select rate by touch gesture | *boolean* | `true` | 2.2.0 |
### Events