forked from Winz18/Online-Learning-Mobile_app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUploadScreen.tsx
32 lines (28 loc) · 960 Bytes
/
UploadScreen.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
import React from 'react';
import type {PropsWithChildren} from 'react';
import {ScrollView, StyleSheet, View} from 'react-native';
import {NavigationProp} from '@react-navigation/native';
import UploadCourseHeader from './components/subject-page/header/UploadCourseHeader.tsx';
import RankingDetails from './components/subject-page/subject-content/RankingDetails.tsx';
import UploadCourseContent from './components/subject-page/subject-content/UploadCoureseContent.tsx';
type SectionProps = PropsWithChildren<{
navigation: NavigationProp<any, any>;
}>;
function UploadScreen({navigation}: SectionProps): React.JSX.Element {
return (
<View style={styles.container}>
<ScrollView>
<View>
<UploadCourseHeader navigation={navigation} />
<UploadCourseContent />
</View>
</ScrollView>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
},
});
export default UploadScreen;