Skip to content

Commit

Permalink
Adding constants of profile filds informations
Browse files Browse the repository at this point in the history
Co-authored-by: ThalissonMelo <[email protected]>
Co-authored-by: Ronyell <[email protected]>
  • Loading branch information
ThalissonMelo and Ronyell committed Apr 17, 2018
1 parent 5537e00 commit 2f9d629
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/screens/ProfileInfoScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,41 @@ const styles = StyleSheet.create({
},
});

const profileInformations = {
icons: [
'face',
'person',
'phone',
'email',
'card-travel',
'supervisor-account',
'people',
'location-city',
'domain',
],
labels: [
'Nome:',
'CPF:',
'Telefone:',
'Email:',
'Cargo:',
'Tipo de Conselheiro:',
'Segmento:',
'CAE:',
'Tipo do CAE:',
],
informations: [
this.props.counselor.name,
this.props.counselor.profile.cpf,
this.props.counselor.profile.phone,
this.props.counselor.email,
'Cargo',
this.props.counselor.profile.segment,
this.props.counselor.profile.CAE,
this.props.counselor.profile.CAE_Type,
]
}

export default class ProfileInfoScreen extends React.Component {
componentWillMount() {
BackHandler.addEventListener('hardwareBackPress', backHandlerPopToMain);
Expand Down

0 comments on commit 2f9d629

Please sign in to comment.