ant-design/components/rate/index.en-US.md

24 lines
621 B
Markdown
Raw Normal View History

---
category: Components
type: Form Controls
title: Rate
---
Rate component.
2016-09-10 13:43:30 +08:00
## 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 |