workspaces_registry_template/site/components/layout.js

17 lines
450 B
JavaScript
Raw Normal View History

2022-12-14 15:03:50 +00:00
// components/layout.js
import Header from './header'
import Footer from './footer'
import 'react-notifications/lib/notifications.css';
import { NotificationContainer } from 'react-notifications';
2022-12-14 15:03:50 +00:00
export default function Layout({ children, searchText, changeSearch }) {
return (
<>
<Header searchText={searchText} changeSearch={changeSearch} />
<main>{children}</main>
<Footer />
<NotificationContainer/>
2022-12-14 15:03:50 +00:00
</>
)
}