Insta, spotlight, fonts
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
// components/Layout.js
|
||||
import Header from './header';
|
||||
import Footer from './footer';
|
||||
import { Header } from './header';
|
||||
import { Footer } from './footer';
|
||||
import { ReactNode } from 'react'; // Import ReactNode
|
||||
|
||||
interface LayoutProps {
|
||||
children: ReactNode; // Define the type of children prop
|
||||
}
|
||||
export default function Layout({ children }: LayoutProps) {
|
||||
export function Layout({ children }: LayoutProps) {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
|
||||
Reference in New Issue
Block a user