You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
667 B
29 lines
667 B
import React from 'react';
|
|
import { Text, View, StyleSheet } from 'react-native';
|
|
import { learnihonColors } from '../assets/colors';
|
|
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
|
|
|
|
const Header = () => {
|
|
|
|
return (
|
|
<SafeAreaView style={headerStyle.container}>
|
|
<Text style={headerStyle.title}>LEARNIHON</Text>
|
|
</SafeAreaView>
|
|
);
|
|
};
|
|
|
|
const headerStyle = StyleSheet.create({
|
|
container: {
|
|
backgroundColor: learnihonColors.main,
|
|
width: '100%',
|
|
},
|
|
title: {
|
|
color: 'white',
|
|
textAlign: 'center',
|
|
fontWeight: 'bold',
|
|
fontSize: 40,
|
|
}
|
|
})
|
|
|
|
export default Header; |