import React, { useState, useEffect } from 'react'; import { Layout, theme, Grid } from 'antd'; import LayoutFooter from './LayoutFooter'; import LayoutHeader from './LayoutHeader'; import LayoutSidebar from './LayoutSidebar'; const { Content } = Layout; const { useBreakpoint } = Grid; const MainLayout = ({ children }) => { const { token: { colorBgContainer, borderRadiusLG }, } = theme.useToken(); const screens = useBreakpoint(); const isDesktop = screens.lg; return ( {/*
*/} {children} {/*
*/}
{/* */}
); }; export default MainLayout;