PliWould/app/(tabs)/index.tsx

45 lines
963 B
TypeScript
Raw Normal View History

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';
import { SafeAreaView } from 'react-native-safe-area-context';
import { LengthInput } from '@/components/LengthInput';
import { setupStore } from '../store';
export default function HomeScreen() {
const store = setupStore();
function calculatePrice() {
}
return (
<SafeAreaView>
<LengthInput onLengthSet={calculatePrice} />
{}
</SafeAreaView>
);
}
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',
},
});