From f99e0aba70efad0deb907d8e27f09fc9f527c8a4 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 17 Feb 2023 17:07:50 +0700
Subject: Refactor

---
 src/core/components/layouts/AppLayout.jsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/core/components/layouts/AppLayout.jsx

(limited to 'src/core/components/layouts/AppLayout.jsx')

diff --git a/src/core/components/layouts/AppLayout.jsx b/src/core/components/layouts/AppLayout.jsx
new file mode 100644
index 00000000..7aaa52ca
--- /dev/null
+++ b/src/core/components/layouts/AppLayout.jsx
@@ -0,0 +1,15 @@
+import AppBar from "../elements/Appbar/Appbar"
+import AnimationLayout from "./AnimationLayout"
+
+const AppLayout = ({ children, title }) => {
+  return (
+    <>
+      <AppBar title={title}/>
+      <AnimationLayout>
+        { children }
+      </AnimationLayout>
+    </>
+  )
+}
+
+export default AppLayout
\ No newline at end of file
-- 
cgit v1.2.3

