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