diff --git a/app/Staff.js b/app/Staff.js index 9b8b931..426d3ab 100644 --- a/app/Staff.js +++ b/app/Staff.js @@ -35,8 +35,11 @@ const Stack = createStackNavigator(); export const StaffInfo = ({route}) => { const item = route.params; + + console.log(item); + return ( - + /* {item.emails.map(email => @@ -47,7 +50,46 @@ export const StaffInfo = ({route}) => { )} - + */ + + + + + {item.name} + {item.position || ""} + + {item.emails && + + + + + {"Email"} + + + + {item.emails.map(email => + {email} + )} + + + } + + {item.phone && + + + + + {"Phone"} + + + + {item.phone.map(num => + {num} + )} + + + } + ) } function StaffElement (props) {