You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
512 B

// components/layout.js
import Header from './header'
import Footer from './footer'
import 'react-notifications/lib/notifications.css';
import { NotificationContainer } from 'react-notifications';
export default function Layout({ children, searchText, changeSearch }) {
return (
<div className='flex flex-col min-h-screen'>
<Header searchText={searchText} changeSearch={changeSearch} />
<main className="grow">{children}</main>
<Footer />
<NotificationContainer/>
</div>
)
}

Powered by TurnKey Linux.