mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
13 lines
165 B
Markdown
13 lines
165 B
Markdown
---
|
|
order: 1
|
|
title: 半星
|
|
---
|
|
|
|
支持选中半星。
|
|
|
|
````jsx
|
|
import { Rate } from 'antd';
|
|
|
|
ReactDOM.render(<Rate allowHalf defaultValue={2.5} />, mountNode);
|
|
````
|