import * as React from 'react'; import { Platform } from 'react-native'; import styled from 'styled-components/native'; import RouterButton from 'react-router-native-button'; import Metrics from '../themes/Metrics'; const Content = styled.View` ${Platform.OS === 'android' ? `margin-top: ${Metrics.androidStatusBarHeight};` : ''} flex: 1; height: 100%; justify-content: space-between; `; const AvatarContainer = styled.View` margin: 10px; `; const ButtonContainer = styled.View` margin: 5px; `; const Info = styled.Text``; const Avatar = styled.Image` height: 150px; width: 100%; border-radius: 50px; margin: 10px; `; const LogoutButton = styled.Button` width: 100%; `; export default ({ user, logout }) => ( {user.username} {`${user.firstName} ${user.lastName}`} );