import React from 'react'; import { Breadcrumb, Layout, Menu, theme } from 'antd'; const { Header, Content, Footer } = Layout; const App: React.FC = () => { const { token: { colorBgContainer }, } = theme.useToken(); return (
{ const key = index + 1; return { key, label: `nav ${key}`, }; })} />
Home List App
Content
); }; export default App;