mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 03:14:07 +08:00
20 lines
501 B
Markdown
20 lines
501 B
Markdown
|
# Rate
|
||
|
|
||
|
- category: Components
|
||
|
- chinese: 评分
|
||
|
- type: 表单
|
||
|
|
||
|
---
|
||
|
|
||
|
评分组件。
|
||
|
|
||
|
## API
|
||
|
|
||
|
|
||
|
| 成员 | 说明 | 类型 | 默认值 |
|
||
|
|-------------|----------------|--------------------|--------------|
|
||
|
| count | star 个数 | Number | 5 |
|
||
|
| value | 受控值 | Number | |
|
||
|
| defaultValue | 默认值 | Number | |
|
||
|
| onChange(value: Number) | 回调 | Function | |
|
||
|
| allowHalf | 是否允许半选 | Boolean | |
|