import React from 'react'; import { Tabs } from 'antd'; const App: React.FC = () => ( { const id = String(i + 1); return { label: `Tab ${id}`, key: id, children: `Content of Tab Pane ${id}`, }; })} /> ); export default App;