import React from 'react'; import { Rate } from 'antd'; const App: React.FC = () => ( <> allowClear: true allowClear: false > ); export default App;