mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +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);
|
|
```
|