28 lines
No EOL
676 B
TypeScript
28 lines
No EOL
676 B
TypeScript
import { SafeAreaView, StyleSheet, Switch, Text } from 'react-native';
|
|
|
|
export default function Page() {
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
},
|
|
switch: {
|
|
transform: [{ scaleX: 1.3 }, { scaleY: 1.3 }],
|
|
},
|
|
text: {
|
|
color: "red",
|
|
fontSize: 40,
|
|
}
|
|
});
|
|
|
|
// const {data, isLoading, reFetch} = useFetch();
|
|
|
|
return (
|
|
<SafeAreaView>
|
|
<Text style={styles.text}>Hallo wo bin ich?!</Text>
|
|
<Switch style={styles.switch}/>
|
|
</SafeAreaView>
|
|
);
|
|
} |