mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 16:58:00 +08:00
7 lines
145 B
TypeScript
7 lines
145 B
TypeScript
|
import React from 'react';
|
||
|
import { Rate } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => <Rate allowHalf defaultValue={2.5} />;
|
||
|
|
||
|
export default App;
|