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.
28 lines
545 B
28 lines
545 B
import React from 'react';
|
|
import { Text, View, StyleSheet } from 'react-native';
|
|
|
|
|
|
const Header = () => {
|
|
|
|
return (
|
|
<View style={headerStyle.container}>
|
|
<Text style={headerStyle.title}>LEARNIHON</Text>
|
|
</View>
|
|
);
|
|
};
|
|
|
|
const headerStyle = StyleSheet.create({
|
|
container: {
|
|
backgroundColor: '#FF5C5C',
|
|
width: '100%',
|
|
padding: 10
|
|
},
|
|
title: {
|
|
color: 'white',
|
|
textAlign: 'center',
|
|
fontWeight: 'bold',
|
|
fontSize: 30,
|
|
}
|
|
})
|
|
|
|
export default Header; |