mirror of
https://github.com/bspeice/speice.io
synced 2024-12-23 00:58:09 -05:00
17 lines
350 B
TypeScript
17 lines
350 B
TypeScript
import { PropsWithChildren, StrictMode } from "react";
|
|
|
|
import "./style.css";
|
|
import Navbar from "./Navbar";
|
|
|
|
const Layout: React.FC<PropsWithChildren> = ({ children }) => (
|
|
<StrictMode>
|
|
<div className="gridOffset">
|
|
<Navbar />
|
|
<hr style={{ marginTop: "0" }} />
|
|
{children}
|
|
</div>
|
|
</StrictMode>
|
|
);
|
|
|
|
export default Layout;
|