Header component removed

This commit is contained in:
MedihaZukic
2017-09-23 21:58:26 +02:00
parent 5884e20ecf
commit 2db958569e
2 changed files with 0 additions and 30 deletions

View File

@@ -1,29 +0,0 @@
import React from 'react';
import { View, Text } from 'react-native';
const ApplicationHeader = (props) => {
const { headerTextStyle } = styles;
return (
<View style={headerStyle(props.headerBackgroudColor)}>
<Text style={headerTextStyle}>{props.headerText}</Text>
</View>
);
};
const headerStyle = function (headerBackgroudColor) {
return {
backgroundColor: headerBackgroudColor,
height: 50,
justifyContent: 'center',
alignItems: 'center'
};
};
const styles = {
headerTextStyle: {
fontSize: 20,
color: '#fff'
}
};
export default ApplicationHeader;

View File

@@ -1,6 +1,5 @@
import React from 'react';
import { View } from 'react-native';
import ApplicationHeader from './ApplicationHeader';
import Question from './Question';
const Lesson = (props) => {