import React from "react"; import { StyleSheet, Text, View } from "react-native"; export default function Header() { return ( Fejrész ); } const styles = StyleSheet.create({ header: { height: 80, width: '100%', backgroundColor: 'coral', position: 'absolute', top: 0, }, title: { fontSize: 32, textAlign: 'center', paddingTop: 10, fontWeight: 'bold', color: 'white', }, });