From 5a256147e2a0e2812e4c5ddaff28e0b386267081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Mon, 4 Jan 2021 20:10:03 +0900 Subject: [PATCH] feat: added Container component --- components/Container.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 components/Container.tsx diff --git a/components/Container.tsx b/components/Container.tsx new file mode 100644 index 0000000..e2f8921 --- /dev/null +++ b/components/Container.tsx @@ -0,0 +1,14 @@ +const Container = ({ className, children }:ContainerProps): JSX.Element => { + return ( +
+ {children} +
+ ) +} + +interface ContainerProps { + className?: string + children: JSX.Element +} + +export default Container \ No newline at end of file