Commit 70be6528 authored by Afid's avatar Afid
parents cf7ca4f9 93e94724
...@@ -233,7 +233,21 @@ class Auth extends React.Component { ...@@ -233,7 +233,21 @@ class Auth extends React.Component {
}, title: 'PROFIL' }, title: 'PROFIL'
}} /> }} />
<Stack.Screen name="Change Profil" component={ChangeProfile} /> <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={{ <Stack.Screen name="Change password" component={ChangePassword} options={{
headerStyle: { backgroundColor: '#CFB368' }, headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' }, headerTitleContainerStyle: { alignContent: 'center' },
......
This diff is collapsed.
...@@ -205,6 +205,7 @@ class Home extends React.Component { ...@@ -205,6 +205,7 @@ class Home extends React.Component {
render() { render() {
console.log(this.state.images)
return ( return (
<View style={styles.container}> <View style={styles.container}>
<ScrollView> <ScrollView>
...@@ -224,6 +225,7 @@ class Home extends React.Component { ...@@ -224,6 +225,7 @@ class Home extends React.Component {
<View style={{backgroundColor: 'red'}}> <View style={{backgroundColor: 'red'}}>
<SliderBox <SliderBox
images={this.state.images} images={this.state.images}
onCurrentImagePressed={index => console.log(`image ${index} pressed`)}
autoplay autoplay
circleLoop circleLoop
dotColor='black' 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