You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
501 B
20 lines
501 B
9 years ago
|
# Rate
|
||
|
|
||
|
- category: Components
|
||
|
- chinese: 评分
|
||
|
- type: 表单
|
||
|
|
||
|
---
|
||
|
|
||
|
评分组件。
|
||
|
|
||
|
## API
|
||
|
|
||
|
|
||
|
| 成员 | 说明 | 类型 | 默认值 |
|
||
|
|-------------|----------------|--------------------|--------------|
|
||
|
| count | star 个数 | Number | 5 |
|
||
|
| value | 受控值 | Number | |
|
||
|
| defaultValue | 默认值 | Number | |
|
||
|
| onChange(value: Number) | 回调 | Function | |
|
||
|
| allowHalf | 是否允许半选 | Boolean | |
|