From 4cae14b9f86609b8c1f74d97a033e7091af49cb4 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 13 Dec 2021 12:06:06 +0100 Subject: chore: change app to use a layout I can now insert header/footer on each pages. --- src/components/Main/Main.tsx | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/components/Main/Main.tsx (limited to 'src/components/Main/Main.tsx') diff --git a/src/components/Main/Main.tsx b/src/components/Main/Main.tsx new file mode 100644 index 0000000..3705c83 --- /dev/null +++ b/src/components/Main/Main.tsx @@ -0,0 +1,7 @@ +import { FunctionComponent } from 'react'; + +const Main: FunctionComponent = ({ children }) => { + return
{children}
; +}; + +export default Main; -- cgit v1.2.3