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.
|
|
|
---
|
|
|
|
category: Components
|
|
|
|
type: Form Controls
|
|
|
|
title: 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 |
|