mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 06:58:33 +08:00
21 lines
240 B
Markdown
21 lines
240 B
Markdown
---
|
|
order: 1
|
|
title:
|
|
zh-CN: 半星
|
|
en-US: Half star
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
支持选中半星。
|
|
|
|
## en-US
|
|
|
|
Support select half star.
|
|
|
|
````jsx
|
|
import { Rate } from 'antd';
|
|
|
|
ReactDOM.render(<Rate allowHalf defaultValue={2.5} />, mountNode);
|
|
````
|