|
|
@ -31,17 +31,6 @@ function Profile(props: { navigation: any; }) {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Button(props: { onPress: any; title?: any | undefined; }) {
|
|
|
|
|
|
|
|
const { onPress, title = 'Save' } = props;
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<Pressable style={styles.button} onPress={onPress}>
|
|
|
|
|
|
|
|
<Text style={styles.text}>{title}</Text>
|
|
|
|
|
|
|
|
</Pressable>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
body: {
|
|
|
|
body: {
|
|
|
|
flex: 1,
|
|
|
|
flex: 1,
|
|
|
|