Skip to content

Commit dad6942

Browse files
committed
Example is updated
1 parent 2f2e756 commit dad6942

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

example/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"@freakycoder/react-native-header-view": "^0.5.0",
13+
"@freakycoder/react-native-header-view": "0.5.0",
1414
"@freakycoder/react-native-helpers": "0.0.21",
1515
"react": "16.12.0",
1616
"react-native": "0.61.4",

lib/src/components/AppleHeader/AppleHeader.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { Text, View, Image, TouchableOpacity } from "react-native";
44
import 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

7676
AppleHeader.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

9292
export default AppleHeader;

0 commit comments

Comments
 (0)