Skip to content

Commit ff09b94

Browse files
committed
slight tweaks
1 parent fdb7c42 commit ff09b94

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

example/beta-src/ParallaxScrollView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default class ParallaxScrollView extends Component {
113113
})
114114
}}
115115
>
116-
<Text style={{ fontSize: 22, fontWeight: '600', color: navBarTitleColor || 'white' }}>
116+
<Text style={{ fontSize: 18, fontWeight: '600', color: navBarTitleColor || 'white' }}>
117117
{this.props.navBarTitle || USER.name}
118118
</Text>
119119
</Animated.View>

example/main.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class App extends React.Component {
1919
return (
2020
<ParallaxScrollView
2121
windowHeight={SCREEN_HEIGHT}
22-
backgroundSource='http://i.imgur.com/sKR3Fkb.png'
22+
backgroundSource='http://i.imgur.com/s4JEY9E.jpg'
2323
navBarTitle='Custom Title'
2424
navBarTitleColor='black'
2525
navBarColor='white'
@@ -33,9 +33,9 @@ class App extends React.Component {
3333
</View>
3434
</View>
3535
)}
36-
leftIcon={{name: 'rocket', color: 'black', size: 30, type: 'font-awesome'}}
36+
leftIcon={{name: 'rocket', color: 'rgba(228, 117, 125, 1)', size: 30, type: 'font-awesome'}}
3737
leftIconOnPress={() => this.setState({index: (this.state.index + 1 ) % 3})}
38-
rightIcon={{name: 'user', color: 'black', size: 30, type: 'font-awesome'}}
38+
rightIcon={{name: 'user', color: 'rgba(228, 117, 125, 1)', size: 30, type: 'font-awesome'}}
3939
rightIconOnPress={() => this.setState({index: (this.state.index + 1 ) % 3})}
4040
>
4141
<ScrollView style={{flex: 1, backgroundColor: 'rgba(228, 117, 125, 1)'}}>
@@ -72,12 +72,12 @@ class App extends React.Component {
7272
return (
7373
<ParallaxScrollView
7474
windowHeight={SCREEN_HEIGHT * 0.4}
75-
backgroundSource='http://i.imgur.com/UyjQBkJ.png'
75+
backgroundSource='http://i.imgur.com/ao1nxlD.png'
7676
navBarTitle='John Oliver'
7777
userName='John Oliver'
7878
userTitle='Comedian'
7979
userImage='http://i.imgur.com/RQ1iLOs.jpg'
80-
leftIcon={{name: 'rocket', color: 'rgba(131, 175, 41, 1)', size: 30, type: 'font-awesome'}}
80+
leftIcon={{name: 'rocket', color: 'rgba(193, 193, 193, 1)', size: 30, type: 'font-awesome'}}
8181
leftIconOnPress={() => this.setState({index: (this.state.index + 1 ) % 3})}
8282
rightIcon={{name: 'user', color: 'rgba(193, 193, 193, 1)', size: 30, type: 'font-awesome'}}
8383
rightIconOnPress={() => this.setState({index: (this.state.index + 1 ) % 3})}

src/ParallaxScrollView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default class ParallaxScrollView extends Component {
113113
})
114114
}}
115115
>
116-
<Text style={{ fontSize: 22, fontWeight: '600', color: navBarTitleColor || 'white' }}>
116+
<Text style={{ fontSize: 18, fontWeight: '600', color: navBarTitleColor || 'white' }}>
117117
{this.props.navBarTitle || USER.name}
118118
</Text>
119119
</Animated.View>

0 commit comments

Comments
 (0)