-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcellular.tsx
More file actions
37 lines (35 loc) · 1002 Bytes
/
Copy pathcellular.tsx
File metadata and controls
37 lines (35 loc) · 1002 Bytes
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
import { View, Text, StyleSheet } from 'react-native';
import CellularDemo from '@/components/CellularDemo';
import CustomHeader from '@/components/CustomHeader';
export default function SimplePage() {
return (
<View style={{ flex: 1 }}>
<CustomHeader title="Cellular" />
<View style={styles.container}>
<Text style={styles.header}>My Header</Text>
<Text style={styles.text}>This is some example text to show a plain page component.</Text>
<CellularDemo />
</View>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
padding: 16,
backgroundColor: '#121212',
},
header: {
fontSize: 24,
fontWeight: 'bold',
color: '#fff',
marginBottom: 20,
},
text: {
fontSize: 16,
color: '#ccc',
textAlign: 'center',
},
});