Wavelength/app/(tabs)/index.tsx

35 lines
748 B
TypeScript
Raw Normal View History

2024-10-08 16:58:50 -05:00
import { StyleSheet } from "react-native";
import { ThemedText } from "@/components/ThemedText";
import { ThemedView } from "@/components/ThemedView";
2024-10-08 16:58:50 -05:00
import Button from "@/components/buttons/Button";
2024-10-08 16:58:50 -05:00
const Index = () => {
return (
2024-10-08 16:58:50 -05:00
<ThemedView style={styles.container}>
<ThemedText style={styles.text}>
Home Screen
</ThemedText>
<ThemedView style={styles.footerContainer}>
<Button label="Choose a photo" />
</ThemedView>
2024-10-08 16:58:50 -05:00
</ThemedView>
);
}
2024-10-08 16:58:50 -05:00
export default Index;
const styles = StyleSheet.create({
2024-10-08 16:58:50 -05:00
container: {
flex: 1,
alignItems: 'center',
2024-10-08 16:58:50 -05:00
justifyContent: 'center',
},
2024-10-08 16:58:50 -05:00
text: {
fontSize: 24,
},
2024-10-08 16:58:50 -05:00
footerContainer: {
flex: 1 / 3,
alignItems: 'center',
},
});