-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
53 lines (50 loc) · 950 Bytes
/
App.tsx
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 { View, Text, StyleSheet } from 'react-native';
import { Doge } from './SampleComponents';
export default function App() {
return (
<View style={styles.container}>
<Doge/>
{/* <Text>👋 Hello :)</Text> */}
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
dog: {
backgroundColor: 'red'
},
button: {
backgroundColor: 'green',
borderRadius: 5,
padding: 5
},
text: {
fontSize: 32
},
elephant: {
backgroundColor: 'orange',
borderRadius: 5,
width: 200,
alignItems: 'center',
margin: 10,
padding: 10
},
posterContainer: {
flexWrap: 'wrap',
padding: 20,
flexDirection: 'row',
justifyContent: 'center',
alignContent: 'center',
alignSelf: 'stretch'
},
poster: {
margin: 5,
height: 250,
width: 150
}
});