ant-design/components/rate/demo/half.md
2022-05-21 22:14:15 +08:00

286 B

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

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;