-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
42 lines (28 loc) · 1.12 KB
/
constants.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
const backgroundColor = "black"
const themeColor = "rgb(45,45,45)"
const specialColor = "purple"
const detailColor = "white"
/*
const headers = {'Authorization': `Token ddeccd23a6aaf36a0e45eb55b97d57df146440be`};
useEffect(()=>{
axios.get(apiName+"/api/workouts",{headers})
.then((r)=>{
setData(r.data)
console.log("Workout list is ready")
})
.catch(function (error) {
console.log(error);
})
},[])
*/
/*
<View style={{ flexDirection:"row",margin:10}}>
<View style={{ flex:1,alignItems:"center",justifyContent:"center" }}>
<CategoryCard text={"News and Articles"} navigation={navigation} img={"https://cdn-icons-png.flaticon.com/512/1643/1643231.png"} screen={"News and Articles Screen"} />
</View>
<View style={{ flex:1,alignItems:"center",justifyContent:"center" }}>
<CategoryCard text={"Your Progress"} navigation={navigation} img={"https://cdn-icons-png.flaticon.com/512/7311/7311544.png"} screen={"Progress Screen"} />
</View>
</View>
*/
export {backgroundColor,themeColor,specialColor,detailColor}