@@ -4,10 +4,10 @@ import { Text, View, Image, TouchableOpacity } from "react-native";
44import styles , {
55 container ,
66 _dateTitleStyle ,
7- _largeTitleStyle
7+ _largeTitleStyle ,
88} from "./AppleHeader.style" ;
99
10- const AppleHeader = props => {
10+ const AppleHeader = ( props ) => {
1111 const {
1212 onPress,
1313 dateTitle,
@@ -24,7 +24,7 @@ const AppleHeader = props => {
2424 dateTitleFontWeight,
2525 largeTitleFontSize,
2626 largeTitleFontColor,
27- largeTitleFontWeight
27+ largeTitleFontWeight,
2828 } = props ;
2929 return (
3030 < View style = { containerStyle || container ( backgroundColor , borderColor ) } >
@@ -70,7 +70,7 @@ AppleHeader.propTypes = {
7070 backgroundColor : PropTypes . string ,
7171 largeTitleFontSize : PropTypes . number ,
7272 largeTitleFontColor : PropTypes . string ,
73- largeTitleFontWeight : PropTypes . string
73+ largeTitleFontWeight : PropTypes . string ,
7474} ;
7575
7676AppleHeader . defaultProps = {
@@ -86,7 +86,7 @@ AppleHeader.defaultProps = {
8686 backgroundColor : "transparent" ,
8787 dateTitle : "MONDAY, 27 NOVEMBER" ,
8888 containerStyle : styles . container ,
89- largeTitleStyle : styles . largeTitleStyle
89+ largeTitleStyle : styles . largeTitleStyle ,
9090} ;
9191
9292export default AppleHeader ;
0 commit comments