-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
60 lines (55 loc) · 1.77 KB
/
App.js
File metadata and controls
60 lines (55 loc) · 1.77 KB
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
54
55
56
57
58
59
60
import React from 'react'
import {
View,
} from 'react-native'
import CircularProgress from "./customComponents/CircularProgress";
export default class App extends React.Component {
render() {
return (
<View
style = {{
alignItems: "center",
flex: 1,
justifyContent: "center",
}}
>
<CircularProgress
backgroundColor = "darkseagreen"
firstColor = "green"
firstNumber = {80}
max = {100}
secondColor = "firebrick"
secondNumber = {90}
circularSize = {100}
circularWidth = {15}
/>
<View
style = {{
marginVertical: 20,
}}
>
<CircularProgress
backgroundColor = "darkseagreen"
firstColor = "green"
firstNumber = {20}
max = {100}
secondColor = "firebrick"
secondNumber = {70}
circularSize = {150}
circularWidth = {25}
/>
</View>
<CircularProgress
backgroundColor = "darkseagreen"
firstColor = "green"
firstNumber = {5}
max = {100}
secondColor = "firebrick"
secondNumber = {20}
circularSize = {200}
circularWidth = {25}
/>
</View>
)
}
}