mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
621 B
621 B
category | type | title |
---|---|---|
Components | Form Controls | Rate |
Rate component.
When To Use
- Show evalutate.
- 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(value: Number) | callback | Function | - |
allowHalf | whether to allow semi selection | Boolean | false |
disabled | read only, unable to interact | Boolean | false |