-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
53 lines (51 loc) · 1.44 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import React, {Component} from 'react'
import {
Header, Container, StyleProvider, Left, Text,
Body, Title, Tab, Tabs, Icon, TabHeading, Button,
Right
} from 'native-base'
import {StyleSheet} from 'react-native'
import CustomVariables from './native-base-theme/variables'
import getTheme from './native-base-theme/components'
import Chats from './src/components/chats'
export default class App extends Component{
render(){
return(
<StyleProvider style={getTheme(CustomVariables)}>
<Container>
<Header hasTabs androidStatusBarColor='#054E47'>
<Left>
<Title>WhatsApp</Title>
</Left>
<Right>
<Button transparent>
<Icon name='search' style={{fontSize: 20}} />
</Button>
<Button transparent>
<Icon name='md-more' />
</Button>
</Right>
</Header>
<Tabs initialPage={1}>
<Tab heading={
<TabHeading>
<Icon name='camera' />
</TabHeading>
}>
<Text>dope</Text>
</Tab>
<Tab heading='CHATS'>
<Chats />
</Tab>
<Tab heading='STATUS'>
<Text>dope</Text>
</Tab>
<Tab heading='CALLS'>
<Text>dope</Text>
</Tab>
</Tabs>
</Container>
</StyleProvider>
)
}
}