Commit 42276ef2 by tungnq

TODO: Đã hoàn thiện giao diện màn hình báo nghỉ

parent 89bcaa81
......@@ -24,7 +24,7 @@ function MyStack(props) {
headerStatusBarHeight: 0,
}}
headerMode={'none'}
initialRouteName={ScreenName.ABSENCELISTBYCOURSE}>
initialRouteName={ScreenName.TABNAVIGATOR}>
<Stack.Screen name={ScreenName.HOMESCREEN} component={Home} />
<Stack.Screen name={ScreenName.TABNAVIGATOR} component={TabNavigator} />
<Stack.Screen name={ScreenName.DETAILNOTIFICATION} component={NotificationDetail} />
......
......@@ -61,6 +61,17 @@ const styles = StyleSheet.create({
justifyContent: 'center',
},
btnRight: {},
btnRegister:{
borderRadius:10,
alignItems:'center',
justifyContent:'center',
marginHorizontal:15,
marginVertical:10,
backgroundColor:R.colors.blue,
borderRadius:10,
padding:5
}
});
export default styles;
......@@ -13,7 +13,7 @@ const ListRestReportView = props => {
return (
<TouchableOpacity
onPress={() => {
navigation.navigate(ScreenName.DETAILRESTREPORT);
navigation.navigate(ScreenName.ABSENCELISTBYCOURSE);
}}
style={styles.containerCard}>
<View>
......@@ -64,6 +64,9 @@ const ListRestReportView = props => {
vertical
keyExtractor={(item, index) => `${index}`}
/>
<TouchableOpacity style={styles.btnRegister} onPress={ () => navigation.navigate(ScreenName.REGISTERABSENCE)}>
<Text style={[styles.text, {color:R.colors.white}]}>Đăng kí báo ngh</Text>
</TouchableOpacity>
</View>
</View>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment