import React, { useState } from 'react'; import type { DatePickerProps, RadioChangeEvent } from 'antd'; import { DatePicker, Radio } from 'antd'; const { RangePicker } = DatePicker; const App: React.FC = () => { const [placement, SetPlacement] = useState('topLeft'); const placementChange = (e: RadioChangeEvent) => { SetPlacement(e.target.value); }; return ( <> topLeft topRight bottomLeft bottomRight



); }; export default App;