-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSidebar.js
40 lines (28 loc) · 924 Bytes
/
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
import React, {Component} from 'react';
import {View,TouchableOpacity} from 'react-native';
import {List,ListItem,Left,Right,Body,Text,Icon} from 'native-base'; // A library used by me you can use your own.
//this is just an example file you can create your own.
export default class SecondScreen extends Component {
render() {
return (
<View style={{flex:1,justifyContent:"center"}}>
<List>
<TouchableOpacity>
<ListItem>
<Left >
<Icon
name="ios-information-circle-outline"
/>
</Left>
<Body >
<Text>About Us</Text>
</Body>
<Right>
<Icon name="arrow-forward" />
</Right>
</ListItem>
</TouchableOpacity>
</List>
</View>
);
}}