Question: I am trying to create this iPhone app myStats page using ReactNative and Javascript and this is what I have so far: import React from
I am trying to create this iPhone app "myStats" page using ReactNative and Javascript and this is what I have so far:
import React from 'react';
import ScrollView, View, TouchableOpacity, StyleSheet, Text, Image from 'reactnative';
import useNavigation from @reactnavigationnative;
import BottomNavBar from BottomNavBar;
import FontAwesomeIcon from @fortawesomereactnativefontawesome';
import faPlus, faCheck from @fortawesomefreesolidsvgicons';
const MyStats
return
My Stats
Dashboard
Journal
Walk
steps
Workout
Add your workout items here
Water
oz
Calories
kcal
Add your macronutrient items here
Medication
Add your medication items here
;
;
const styles StyleSheet.create
container:
flex:
backgroundColor: #fff
welcomeText:
fontSize:
fontWeight: 'bold',
margin:
menu:
flexDirection: 'row',
justifyContent: 'spacearound',
marginBottom:
menuItem:
padding:
backgroundColor: #fff
borderRadius:
section:
flexDirection: 'row',
justifyContent: 'spacearound',
marginBottom:
card:
padding:
backgroundColor: #fff
borderRadius:
width:
alignItems: 'center',
cardTitle:
fontSize:
fontWeight: 'bold',
cardValue:
fontSize:
fontWeight: 'bold',
margin:
icon:
position: 'absolute',
right:
top:
more styles as needed
;
export default MyStats;
I need help expanding this code so that it actually fully resembles the attached image. Thank you
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
