Commit 51693691 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents bdc7c092 93e94724
......@@ -233,7 +233,21 @@ class Auth extends React.Component {
}, title: 'PROFIL'
}} />
<Stack.Screen name="Change Profil" component={ChangeProfile} />
<Stack.Screen name="Change language" component={ChangeLanguage} />
<Stack.Screen name="Change language" component={ChangeLanguage}
options={{
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center',
headerTintColor: '#fff',
headerTitleStyle: {
alignSelf: 'center',
fontFamily: 'Gotham-Black',
fontSize:18,
color: 'white',
textAlign: 'center'
}, title: 'LANGUAGE'
}}
/>
<Stack.Screen name="Change password" component={ChangePassword} options={{
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
......
This diff is collapsed.
......@@ -199,6 +199,7 @@ class Home extends React.Component {
render() {
console.log(this.state.images)
return (
<View style={styles.container}>
<ScrollView>
......@@ -217,6 +218,7 @@ class Home extends React.Component {
</View>
<SliderBox
images={this.state.images}
onCurrentImagePressed={index => console.log(`image ${index} pressed`)}
autoplay
circleLoop
dotColor='black'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment