From 2db958569ec8429071f0c6f35ed0251560bdcc63 Mon Sep 17 00:00:00 2001 From: MedihaZukic Date: Sat, 23 Sep 2017 21:58:26 +0200 Subject: [PATCH] Header component removed --- src/components/ApplicationHeader.js | 29 ----------------------------- src/components/Lesson.js | 1 - 2 files changed, 30 deletions(-) delete mode 100644 src/components/ApplicationHeader.js diff --git a/src/components/ApplicationHeader.js b/src/components/ApplicationHeader.js deleted file mode 100644 index 9826834..0000000 --- a/src/components/ApplicationHeader.js +++ /dev/null @@ -1,29 +0,0 @@ -import React from 'react'; -import { View, Text } from 'react-native'; - -const ApplicationHeader = (props) => { - const { headerTextStyle } = styles; - return ( - - {props.headerText} - - ); -}; - -const headerStyle = function (headerBackgroudColor) { - return { - backgroundColor: headerBackgroudColor, - height: 50, - justifyContent: 'center', - alignItems: 'center' - }; - }; - -const styles = { - headerTextStyle: { - fontSize: 20, - color: '#fff' - } -}; - -export default ApplicationHeader; diff --git a/src/components/Lesson.js b/src/components/Lesson.js index f81c116..d543818 100644 --- a/src/components/Lesson.js +++ b/src/components/Lesson.js @@ -1,6 +1,5 @@ import React from 'react'; import { View } from 'react-native'; -import ApplicationHeader from './ApplicationHeader'; import Question from './Question'; const Lesson = (props) => {