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