Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Lab2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sample Branch
25 changes: 1 addition & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,2 @@
# Lab-Activity---2 Sample Code
import * as React from 'react';
import { Text, View, StyleSheet } from 'react-native';

export default function App() {
return (
<View style={styles.container}>
<Text style={styles.text}>Hello, Expo Snack!</Text>
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#D6EAF8',
},
text: {
fontSize: 24,
fontWeight: 'bold',
color: '#2E86C1',
},
});
Sample Code