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

21 lines
244 B
Markdown
Raw Normal View History

2016-04-01 10:12:02 +08:00
---
order: 1
title:
zh-CN: 半星
en-US: Half star
2016-04-01 10:12:02 +08:00
---
2016-03-31 14:43:38 +08:00
## zh-CN
2016-03-31 14:43:38 +08:00
支持选中半星。
## en-US
Support select half star.
2017-01-19 15:19:03 +08:00
````__react
2016-03-31 14:43:38 +08:00
import { Rate } from 'antd';
ReactDOM.render(<Rate allowHalf defaultValue={2.5} />, mountNode);
````