FactuGES_ERP/apps/web/src/layout/app-fullscreen-layout.tsx

23 lines
500 B
TypeScript
Raw Normal View History

2026-06-02 16:40:23 +00:00
import { Outlet } from "react-router-dom";
import type React from "react";
2026-06-02 16:40:23 +00:00
2026-06-04 09:09:24 +00:00
import { AppMain } from "./app-main";
interface AppFullscreenLayoutFrameProps {
children: React.ReactNode;
}
export const AppFullscreenLayoutFrame = ({ children }: AppFullscreenLayoutFrameProps) => {
return (
<AppMain className="h-dvh w-dvw">{children}</AppMain>
);
};
2026-06-02 16:40:23 +00:00
export const AppFullscreenLayout = () => {
return (
<AppFullscreenLayoutFrame>
2026-06-02 16:40:23 +00:00
<Outlet />
</AppFullscreenLayoutFrame>
2026-06-02 16:40:23 +00:00
);
};