text: import React from "react";
  import { Text, StyleSheet } from "react-native";
  
  function AppText({ children, style }) {
    return <Text style={[styles.text, style]}>{children}</Text>;
  }
  
  const styles = StyleSheet.create({
    text: {
      color: "tomato",
      ...Platform.select({
        ios: {
          fontSize: 20,
          fontFamily: "Avenir",
        },
        android: {
          fontSize: 18,
          fontFamily: "Roboto",
        },
      }),
    },
  });
  
  export default AppText;
  