App.js 678B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * @format
  3. * @flow
  4. * @lint-ignore-every XPLATJSCOPYRIGHT1
  5. */
  6. import React, { Component } from "react";
  7. import { StyleSheet, Text, View } from "react-native";
  8. // import * as RNPermissions from "react-native-languages";
  9. type Props = {};
  10. export default class App extends Component<Props> {
  11. render() {
  12. return (
  13. <View style={styles.container}>
  14. <Text style={styles.welcome}>Example</Text>
  15. </View>
  16. );
  17. }
  18. }
  19. const styles = StyleSheet.create({
  20. container: {
  21. flex: 1,
  22. justifyContent: "center",
  23. alignItems: "center",
  24. backgroundColor: "#F5FCFF",
  25. },
  26. welcome: {
  27. fontSize: 20,
  28. textAlign: "center",
  29. margin: 10,
  30. },
  31. });