{"size": 1205, "ext": "js", "max_stars_repo_path": "axenu/screens/Page1.js", "max_stars_repo_name": "hassank1/React-Native-Axenu", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "axenu/screens/Page1.js", "max_issues_repo_name": "hassank1/React-Native-Axenu", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "axenu/screens/Page1.js", "max_forks_repo_name": "hassank1/React-Native-Axenu", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.5178571429, "max_line_length": 95, "alphanum_fraction": 0.556846473}
import React from 'react';
import { Text, StyleSheet, Button, View, Image} from "react-native";

const Page1 = ({navigation})=>{
    return(
        <View style={styles.mainView}> 
          <Image
                style={styles.container}
                source={require('../assets/Axenu.png')}
          />
          <Text style={styles.textStyle}>Welcome to Axenu! The best company in the world</Text>
          <Button 
              title="Learn more"
              onPress={() => navigation.push('Our Partners and Customers')}
          />
        </View>
    )
}

const ResetButton = ({ formState }) => (
  <button
      onClick={action(e => {
          formState.resetPendingUploads()
          formState.resetValues()
          e.preventDefault()
      })}
  >
      Reset form
  </button>
)

const styles = StyleSheet.create({
  mainView:{
    marginTop:10,
    flex:1,
    flexDirection:'column',
    justifyContent:'center',
    alignItems:'center',
    backgroundColor: '#466d78'
    
  },
  textStyle:{
    color:'#fff',
    marginBottom: 10,
    marginTop: 5,
  },
  container:{
    resizeMode: "contain",
    width: 300,
    height: 200,
    marginBottom: 20,
  },
})


export default Page1