2024-06-26 04:20:08 +02:00
|
|
|
import { Image, StyleSheet, Platform } from 'react-native';
|
|
|
|
|
|
|
|
import { HelloWave } from '@/components/HelloWave';
|
|
|
|
import ParallaxScrollView from '@/components/ParallaxScrollView';
|
|
|
|
import { ThemedText } from '@/components/ThemedText';
|
|
|
|
import { ThemedView } from '@/components/ThemedView';
|
2024-06-27 16:06:39 +02:00
|
|
|
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
|
|
import { LengthInput } from '@/components/LengthInput';
|
|
|
|
import { setupStore } from '../store';
|
2024-06-26 04:20:08 +02:00
|
|
|
|
|
|
|
export default function HomeScreen() {
|
2024-06-27 16:06:39 +02:00
|
|
|
|
|
|
|
const store = setupStore();
|
|
|
|
|
|
|
|
function calculatePrice() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-06-26 04:20:08 +02:00
|
|
|
return (
|
2024-06-27 16:06:39 +02:00
|
|
|
<SafeAreaView>
|
|
|
|
<LengthInput onLengthSet={calculatePrice} />
|
|
|
|
{}
|
|
|
|
</SafeAreaView>
|
2024-06-26 04:20:08 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
titleContainer: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
alignItems: 'center',
|
|
|
|
gap: 8,
|
|
|
|
},
|
|
|
|
stepContainer: {
|
|
|
|
gap: 8,
|
|
|
|
marginBottom: 8,
|
|
|
|
},
|
|
|
|
reactLogo: {
|
|
|
|
height: 178,
|
|
|
|
width: 290,
|
|
|
|
bottom: 0,
|
|
|
|
left: 0,
|
|
|
|
position: 'absolute',
|
|
|
|
},
|
|
|
|
});
|