diff --git a/src/Admin/Components/Components/DisplayContent.js b/src/Admin/Components/Components/DisplayContent.js index 423c3f5097fb75ee7aecf30e11ed5fe6534b768e..c82f9bd26235e5dd75ae031b6103d44f40200f13 100644 --- a/src/Admin/Components/Components/DisplayContent.js +++ b/src/Admin/Components/Components/DisplayContent.js @@ -19,24 +19,30 @@ 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'; +import NoteVariables from './NoteVariables'; // This file manuipulate the content that will be displayed in the right part of the screen +// its not optmized yet, but when all the section were completed i intend to create an array with the contents const DisplayContent = ( props ) => { - if(props.selectedIcon === 0){ + if(props.i === 0){ return( <Welcome/> ) - } else if(props.selectedIcon === 16){ - return( + } else if(props.i === 16){ + return ( <Inframe/> - ); + ) + } else if(props.i === 9) { + return( + <NoteVariables/> + ) } else { return( <div> - Essa sessão está em desenvolvimento + Essa sessão está em desenvolvimento </div> - ); + ) } }