mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 12:10:06 +08:00
77b78a9389
* Unify name of ReactNode type in document * Lowser all string type name * Lowercase all number type name * Lowercase all boolean type name * Unify array type * Lowercase all object type name * Unify mutilple types
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 |