import React, { useState } from 'react'; import type { RadioChangeEvent } from 'antd'; import { Input, Radio, Space } from 'antd'; const App: React.FC = () => { const [value, setValue] = useState(1); const onChange = (e: RadioChangeEvent) => { console.log('radio checked', e.target.value); setValue(e.target.value); }; return ( Option A Option B Option C More... {value === 4 ? : null} ); }; export default App;