ant-design/components/rate/demo/half.md

240 B

order title
1
zh-CN en-US
半星 Half star

zh-CN

支持选中半星。

en-US

Support select half star.

import { Rate } from 'antd';

ReactDOM.render(<Rate allowHalf defaultValue={2.5} />, mountNode);