From 211fc118bbb2f2010c067514af19e6d8c0391505 Mon Sep 17 00:00:00 2001
From: Luis Felipe Risch <lfr20@inf.ufpr.br>
Date: Wed, 30 Sep 2020 12:19:24 -0300
Subject: [PATCH] Display the content of the selected item from Drawer

---
 .../Components/Components/DisplayContent.js   | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 src/Admin/Components/Components/DisplayContent.js

diff --git a/src/Admin/Components/Components/DisplayContent.js b/src/Admin/Components/Components/DisplayContent.js
new file mode 100644
index 00000000..423c3f50
--- /dev/null
+++ b/src/Admin/Components/Components/DisplayContent.js
@@ -0,0 +1,43 @@
+/*Copyright (C) 2019 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana
+
+This file is part of Plataforma Integrada MEC.
+
+Plataforma Integrada MEC is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+Plataforma Integrada MEC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with Plataforma Integrada MEC.  If not, see <http://www.gnu.org/licenses/>.*/
+
+import React from 'react'; 
+import Inframe from './Inframe';
+import Welcome from './Welcome';
+
+// This file manuipulate the content that will be displayed in the right part of the screen
+
+const DisplayContent = ( props ) => {
+    if(props.selectedIcon === 0){
+        return(
+            <Welcome/>
+        )
+    } else if(props.selectedIcon === 16){
+        return(
+            <Inframe/>
+        );
+    } else {
+        return(
+            <div>
+                Essa sessão está em desenvolvimento
+            </div>
+        );
+    }
+} 
+
+export default DisplayContent;
\ No newline at end of file
-- 
GitLab