import React from 'react'; import { AndroidOutlined, AppleOutlined } from '@ant-design/icons'; import { Tabs } from 'antd'; const App: React.FC = () => ( { const id = String(i + 1); return { label: ( Tab {id} ), key: id, children: `Tab ${id}`, }; })} /> ); export default App;