mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
21 lines
238 B
Markdown
21 lines
238 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);
|
|
```
|