import React, { useState } from 'react'; import { Button, Radio, Space } from 'antd'; import type { SpaceSize } from 'antd/es/space'; const App: React.FC = () => { const [size, setSize] = useState('small'); return ( <> setSize(e.target.value)}> Small Middle Large

); }; export default App;