engine-bay/admin-portal

View on GitHub
EngineBay.AdminPortal/AdminPortal/src/components/AppLayout.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { Layout, LayoutProps } from "react-admin";
import { lazily } from "react-lazily";
const { NavigationMenu } = lazily(() => import("./NavigationMenu"));
const { CheckForApplicationUpdate } = lazily(() => import("react-admin"));

export const AppLayout = ({ children, ...props }: LayoutProps) => (
  <Layout {...props} menu={NavigationMenu}>
    {children}
    <CheckForApplicationUpdate />
  </Layout>
);