arcast/apps/main/src/components/Layout/Layout.tsx

16 lines
418 B
TypeScript
Raw Normal View History

2024-04-24 17:32:01 +02:00
import { FunctionComponent, PropsWithChildren } from "react";
import styles from "./Layout.module.css";
import { Outlet } from "react-router-dom";
export interface LayoutProps extends PropsWithChildren {}
export const Layout: FunctionComponent<LayoutProps> = ({ children }) => {
return (
<div className={styles.root}>
<div className={styles.container}>
<Outlet />
</div>
</div>
);
};