-
Notifications
You must be signed in to change notification settings - Fork 4
/
CategoriesUrdu.js
52 lines (44 loc) · 1.48 KB
/
CategoriesUrdu.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
import React, { Component } from 'react'
import {StyleSheet, View, Text , Button} from 'react-native';
import MyHeaderButton from "./MyHeaderButton";
import { HeaderButtons , Item } from "react-navigation-header-buttons";
import CategoriesDataUrdu from "./CategoriesDataUrdu";
import SendNotification from "./SendNotification";
import Ad from "./Ad";
class CategoriesScreen extends Component {
static navigationOptions = ({ navigation }) => {
return {
headerLeft :
<HeaderButtons HeaderButtonComponent={MyHeaderButton}>
<Item title="Favourtie" iconName="bars"
onPress={()=>{
navigation.openDrawer();
}}
/>
</HeaderButtons>
};
};
render() {
// this.props.navigation.setParam({color:"white"});
return (
<View style={styles.main}>
<SendNotification/>
<View style={{height:"90%"}}>
<CategoriesDataUrdu props={this.props} color="white"/>
</View>
<View style={{alignItems:"center", padding:5}}>
<Ad size="Banner"/>
</View>
</View>
)
}
}
const styles = StyleSheet.create({
main :{
flex :1,
// alignItems :"center",
//justifyContent : "center",
backgroundColor:"#1a1a1a"
}
});
export default CategoriesScreen;