--- order: 2 title: zh-CN: Radio.Group 垂直 en-US: Vertical Radio.Group --- ## zh-CN 垂直的 Radio.Group,配合更多输入框选项。 ## en-US Vertical Radio.Group, with more radios. ```tsx import type { RadioChangeEvent } from 'antd'; import { Input, Radio, Space } from 'antd'; import React, { useState } from 'react'; 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; ```