generated from pricelees/issue-pr-template
18 lines
290 B
TypeScript
18 lines
290 B
TypeScript
import React, {type ReactNode} from 'react';
|
|
import Navbar from './Navbar';
|
|
|
|
interface LayoutProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
const Layout: React.FC<LayoutProps> = ({ children }) => {
|
|
return (
|
|
<>
|
|
<Navbar />
|
|
<main>{children}</main>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Layout;
|