-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sidebar.js
80 lines (73 loc) · 2.63 KB
/
Sidebar.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import React from "react";
import { Image, StatusBar, Settings } from "react-native";
import {
Header,
Footer,
Left,
Right,
Card,CardItem,
Text,
Container,
Thumbnail,
List,
ListItem,
Content,
View,
Icon,Button
} from "native-base";
class SideBar extends React.Component {
render() {
return (
<Container>
<Content>
<Card style={{elevation: 1}}>
<CardItem >
<View style = {{flex: 1, flexDirection: 'column', justifyContent: 'flex-end'}}>
<Thumbnail source={require('./pic1.jpg')} />
<Text style={{fontWeight: 'bold'}}>Keerthana Manoharan</Text>
<Text note>@keer707</Text></View><Right>
<Button transparent><Icon style={{color:'skyblue' }} name='ios-arrow-down'/></Button></Right></CardItem>
<CardItem style={{borderBottomWidth:2}}>
<View style = {{flexDirection: 'row'}} >
<Text style={{fontWeight: 'bold'}}>250 <Text note>Following</Text> </Text>
<Text style={{fontWeight: 'bold'}}>198 <Text note>Followers</Text> </Text>
</View>
</CardItem></Card>
<Card style={{elevation: 1}}>
<CardItem>
<Icon name='ios-person-outline' />
<Text>Profile</Text>
</CardItem>
<CardItem >
<Icon name='ios-list-box-outline' />
<Text>Lists</Text>
</CardItem>
<CardItem>
<Icon name='ios-thunderstorm-outline' />
<Text>Moments</Text>
</CardItem>
<CardItem>
<Icon name='ios-paper-outline' />
<Text>Highlights</Text>
</CardItem>
</Card><Card style={{elevation: 0}}>
<CardItem >
<Text>Settings and Privacy</Text>
</CardItem><CardItem>
<Text>Help Center</Text>
</CardItem>
</Card>
</Content>
<Footer style={{backgroundColor:'#fff',borderTopWidth:1,borderColor:'grey' }}>
<Left><Button transparent >
<Icon style={{ marginLeft: 20,color:'skyblue'}} name='ios-moon'></Icon></Button>
</Left>
<Right><Button transparent >
<Icon style={{ marginRight: 20,color:'skyblue' }} name='qr-scanner'></Icon></Button>
</Right>
</Footer>
</Container>
);
}
}
export default SideBar;