/* eslint-disable react/no-array-index-key */ import React from 'react'; import { Flex, Radio } from 'antd'; const baseStyle: React.CSSProperties = { width: '25%', height: 54, }; const App: React.FC = () => { const [value, setValue] = React.useState('horizontal'); return ( setValue(e.target.value)}> horizontal vertical {Array.from({ length: 4 }).map((_, i) => (
))} ); }; export default App;