Files
libremdb/src/components/layout/index.tsx
ngn d1e2d1fa1f general cleanup
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-19 23:13:30 +03:00

23 lines
446 B
TypeScript

import { ReactNode } from 'react';
import Header from './Header';
type Props = {
full?: true;
children: ReactNode;
className: string;
originalPath?: string;
};
const Layout = ({ full, children, className, originalPath }: Props) => {
return (
<>
<Header full={full} originalPath={originalPath} />
<main id='main' className={`main ${className}`}>
{children}
</main>
</>
);
};
export default Layout;