Changes
Page history
Update React Native App Tutorial
authored
Mar 28, 2022
by
Aaditya Prakash
Show whitespace changes
Inline
Side-by-side
React-Native-App-Tutorial.md
View page @
e1414284
...
...
@@ -278,4 +278,39 @@ const styles = StyleSheet.create({
For this tutorial, we will work on the Timetable APIs provided by the University Servers.
```
import React from 'react';
import {
View,
SafeAreaView,
Text
} from 'react-native';
import {Appbar} from "react-native-paper";
/**
* Timetable View
*
* Working with APIs
**/
class TimetableView extends React.Component {
static navigationOptions = {
header: null
};
constructor(props) {
super(props);
}
render() {
return (
<SafeAreaView style={{flex:1}}>
<Appbar style={{backgroundColor: "#005f50"}}>
<Appbar.Content title="Time Table" subtitle="" />
</Appbar>
</SafeAreaView>
);
}
}
```