import { lazy, Suspense } from 'react';
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import LoadingAntd from './Components/Utils/Loading/LoadingAntd';
import Layout from './Layout/app/Layout';
import { routesArray } from './config/RoutesArray';
const App = () => {
return (
<>
}>
{routesArray.map(({ path, LayoutClassName, ComponentElement, isLayoutExist }) => (
) : (
)
}
/>
))}
>
);
};
export default App;