{"size": 657, "ext": "js", "max_stars_repo_path": "flood-guardian-mobile-app/components/Header.js", "max_stars_repo_name": "ryanchuah/floodGuardian-ucl-submission", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "flood-guardian-mobile-app/components/Header.js", "max_issues_repo_name": "ryanchuah/floodGuardian-ucl-submission", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "flood-guardian-mobile-app/components/Header.js", "max_forks_repo_name": "ryanchuah/floodGuardian-ucl-submission", "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.1935483871, "max_line_length": 76, "alphanum_fraction": 0.6270928463}
import React, {useState} from 'react';
import {View, Text, Image, StyleSheet, FlatList, Alert} from 'react-native';
import 'react-native-get-random-values';

const Header = () => {
  return (
    <View style={styles.header}>
      <Text style={styles.title}>Flood Guardian</Text>
    </View>
  );
};

const styles = StyleSheet.create({
  header: {
    flexDirection: 'row',
    alignItems: 'center',
    paddingTop: 30,
    paddingBottom: 20
  },
  title: {
    fontFamily: 'Chicle-Regular',
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
    textAlign: 'center',
    fontSize: 50,
    color: '#9BBFE9'
  },
});
export default Header;
