Professional Documents
Culture Documents
return (
<View style={styles.container}>
<Image source={require('./assets/cleaning.jpg')} style={styles.image} />
<View style={styles.titleContainer}>
<Text style={styles.title}>Cleaning Services</Text>
</View>
<View style={styles.form}>
<TextInput style={styles.input}
placeholder="Service"
onChangeText={handleServiceChange}
value={service}
/>
<TextInput style={styles.input}
placeholder="Price"
onChangeText={handlePriceChange}
value={price}
/>
<TextInput style={styles.input}
placeholder="Address"
onChangeText={handleAddressChange}
value={address}
/>
<TextInput style={[styles.input, styles.noteInput]}
placeholder="Note (optional)"
onChangeText={handleNoteChange}
value={note}
multiline={true}
numberOfLines={4}
/>
<TouchableOpacity style={styles.button} onPress={handleSubmit}>
<Text style={styles.buttonText}>Submit</Text>
</TouchableOpacity>
</View>
</View>
);
}