import React from 'react'; import { AppstoreOutlined, BarChartOutlined, CloudOutlined, ShopOutlined, TeamOutlined, UploadOutlined, UserOutlined, VideoCameraOutlined, } from '@ant-design/icons'; import type { MenuProps } from 'antd'; import { Layout, Menu, theme } from 'antd'; const { Header, Content, Footer, Sider } = Layout; const items: MenuProps['items'] = [ UserOutlined, VideoCameraOutlined, UploadOutlined, BarChartOutlined, CloudOutlined, AppstoreOutlined, TeamOutlined, ShopOutlined, ].map((icon, index) => ({ key: String(index + 1), icon: React.createElement(icon), label: `nav ${index + 1}`, })); const App: React.FC = () => { const { token: { colorBgContainer }, } = theme.useToken(); return (

long content

{ // indicates very long content Array.from({ length: 100 }, (_, index) => ( {index % 20 === 0 && index ? 'more' : '...'}
)) }
); }; export default App;