mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-05-03 03:52:31 +02:00
21 lines
484 B
TypeScript
21 lines
484 B
TypeScript
import * as React from 'react';
|
|
import { Navigation } from '../Navigation';
|
|
import { Footer } from './Footer';
|
|
|
|
export interface ILayoutProps {}
|
|
|
|
export const Layout: React.FunctionComponent<ILayoutProps> = (props: React.PropsWithChildren<ILayoutProps>) => {
|
|
return (
|
|
<div className={`flex flex-col h-screen`}>
|
|
<header>
|
|
<Navigation />
|
|
</header>
|
|
|
|
<main className={`flex-grow`}>
|
|
{props.children}
|
|
</main>
|
|
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}; |