mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +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);
|
|
````
|