Brak opisu

App.js 488B

1234567891011121314151617181920212223
  1. import { StatusBar } from 'expo-status-bar';
  2. import React from 'react';
  3. import { StyleSheet, Text, View } from 'react-native';
  4. import { t } from './locales/index.js'
  5. export default function App() {
  6. return (
  7. <View style={styles.container}>
  8. <Text>{t("Hola")}</Text>
  9. <StatusBar style="auto" />
  10. </View>
  11. );
  12. }
  13. const styles = StyleSheet.create({
  14. container: {
  15. flex: 1,
  16. backgroundColor: '#fff',
  17. alignItems: 'center',
  18. justifyContent: 'center',
  19. },
  20. });