import { ConfigProvider, Layout, type LayoutProps, theme } from 'antd'; import React from 'react'; const { Content } = Layout; /** * ThemeWrapper component that wraps the application with Ant Design's ConfigProvider to apply the selected theme * @param children - The content to be wrapped by the theme provider */ const ThemeWrapper: React.FC = ({ children, ...restProps }) => { const localTheme = localStorage.getItem('navTheme'); return ( {children} ); }; export default ThemeWrapper;