-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathApp.tsx
45 lines (42 loc) · 1.05 KB
/
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
import React from 'react';
import {SafeAreaView, ScrollView, StyleSheet, View} from 'react-native';
import Logo from './components/Logo';
import RandomArc from './components/RandomArc';
import Donut from './components/Donut';
import Donut2 from './components/Donut2';
import Progress from './components/Progress';
import Stopwatch from './components/Stopwatch';
import Slider from './components/Slider';
const Spacing = () => <View style={styles.spacing} />;
const App = () => {
return (
<SafeAreaView>
<ScrollView contentContainerStyle={styles.scrollViewContent}>
<Spacing />
<Logo />
<Spacing />
<Donut2 />
<Spacing />
<Donut />
<Spacing />
<Progress />
<Spacing />
<Stopwatch />
<Spacing />
<RandomArc />
<Spacing />
<Slider />
<Spacing />
</ScrollView>
</SafeAreaView>
);
};
const styles = StyleSheet.create({
scrollViewContent: {
alignItems: 'center',
},
spacing: {
marginTop: 50,
},
});
export default App;