import { SearchOutlined } from '@ant-design/icons'; import { Button, ConfigProvider, Divider, Radio, Space, Tooltip } from 'antd'; import type { SizeType } from 'antd/es/config-provider/SizeContext'; import React, { useState } from 'react'; const App: React.FC = () => { const [size, setSize] = useState('large'); return ( <> setSize(e.target.value)}> Large Default Small Preview ); }; export default App;