import React, { useState } from 'react'; import { Radio, Select } from 'antd'; import type { SizeType } from 'antd/es/config-provider/SizeContext'; import type { SelectProps, RadioChangeEvent } from 'antd'; const options: SelectProps['options'] = []; for (let i = 10; i < 36; i++) { options.push({ value: i.toString(36) + i, label: i.toString(36) + i, }); } const handleChange = (value: string | string[]) => { console.log(`Selected: ${value}`); }; const App: React.FC = () => { const [size, setSize] = useState('middle'); const handleSizeChange = (e: RadioChangeEvent) => { setSize(e.target.value); }; return ( <> Large Default Small