diff options
| author | mo khan <mo@mokhan.ca> | 2016-12-23 15:45:15 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-12-23 15:45:15 -0700 |
| commit | 56abfde1d27e5fdce060771aea977c8a070e1dac (patch) | |
| tree | 842e9d2994fc502a5e6d1578a097ada2750ff003 /app | |
| parent | 4ce875fb98f7f382ce63f53c4a19b80b4661e677 (diff) | |
add header to login screen.
Diffstat (limited to 'app')
| -rw-r--r-- | app/screens/login-screen.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/screens/login-screen.js b/app/screens/login-screen.js index 644bd57..450ae4c 100644 --- a/app/screens/login-screen.js +++ b/app/screens/login-screen.js @@ -1,6 +1,6 @@ import React from 'react'; import { View, Button, StyleSheet } from 'react-native'; -import { Container, Content, Spinner } from 'native-base'; +import { Container, Header, Title, Content, Spinner } from 'native-base'; import Account from '../domain/account' import Api from '../infrastructure/api' import DashboardScreen from './dashboard-screen' @@ -26,7 +26,12 @@ export default class LoginScreen extends ApplicationComponent { render() { return ( - <Container>{this.content()}</Container> + <Container> + <Header> + <Title>StrongLifters</Title> + </Header> + {this.content()} + </Container> ) } |
