mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
617 B
617 B
category | type | title |
---|---|---|
Components | Data Entry | Rate |
Rate component.
When To Use
- Show evaluation.
- A quick rating operation on something.
API
Property | Description | type | Default |
---|---|---|---|
count | star count | Number | 5 |
value | current value | Number | - |
defaultValue | default value | Number | 0 |
onChange | callback | Function(value: Number) | - |
allowHalf | whether to allow semi selection | Boolean | false |
disabled | read only, unable to interact | Boolean | false |