mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
286 B
286 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
支持选中半星。
en-US
Support select half star.
import { Rate } from 'antd';
import React from 'react';
const App: React.FC = () => <Rate allowHalf defaultValue={2.5} />;
export default App;