From 4631c5d862d61bfa4ad6489cdc00e5375a8af1c1 Mon Sep 17 00:00:00 2001 From: filantrop Date: Fri, 29 Jul 2022 01:01:38 +0300 Subject: [PATCH] Create Default Container --- src/components/Container.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/components/Container.tsx diff --git a/src/components/Container.tsx b/src/components/Container.tsx new file mode 100644 index 0000000..b53cf16 --- /dev/null +++ b/src/components/Container.tsx @@ -0,0 +1,17 @@ +type Props = { + children: React.ReactNode; + className?: string; + } + + /* -------------------------------------------------------------------------- */ + /* default is 840px as our template */ + /* -------------------------------------------------------------------------- */ + + export default function Container({children, className}: Props) { + return ( +
+ {children} +
+ ) + } + \ No newline at end of file