diff --git a/src/screens/Classroom/PeopleTab/index.js b/src/screens/Classroom/PeopleTab/index.js index 675ccac..7d9884a 100644 --- a/src/screens/Classroom/PeopleTab/index.js +++ b/src/screens/Classroom/PeopleTab/index.js @@ -159,9 +159,173 @@ function PeopleTab({ layoutType, peopleTabData }) { } else if (layoutType === 'mobile') { switch (state) { case 'loading': - return

Loading...

; + return ( + + + + + + + + + + + + {createArrayFrom1ToN(5).map(i => ( + + + + + ))} + + + ); case 'idle': - return

People Tab

; + return ( + + + + Docentes + + + {people + .filter(p => p.role === 'PROFESSOR') + .map(p => ( + + + + {p.name} + + + ))} + + + + + + Discentes + + + {people + .filter(p => p.role === 'STUDENT') + .map(p => ( + + + + {p.name} + + + ))} + + + + ); case 'gone': return null; default: