Commit e56e0390 authored by Trisno's avatar Trisno

tambah gambar di register

parent fb84db91
This diff is collapsed.
...@@ -76,6 +76,5 @@ ...@@ -76,6 +76,5 @@
"babel-preset-expo": "~8.0.0", "babel-preset-expo": "~8.0.0",
"@babel/core": "^7.0.0" "@babel/core": "^7.0.0"
}, },
"private": true "private": true
} }
import React from 'react'; import React from 'react';
import { StyleSheet, View, Text, TextInput, Button, StatusBar, Picker, Alert } from 'react-native'; import { StyleSheet, View, Text, TextInput, Button, StatusBar, Picker, Alert, Image } from 'react-native';
import { ScrollView, TouchableOpacity } from 'react-native-gesture-handler'; import { ScrollView, TouchableOpacity } from 'react-native-gesture-handler';
import Axios from 'axios'; import Axios from 'axios';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
...@@ -389,6 +389,9 @@ class NewRegister extends React.Component { ...@@ -389,6 +389,9 @@ class NewRegister extends React.Component {
<Text style={{ color: '#CFB368' }}>SIGN IN</Text> <Text style={{ color: '#CFB368' }}>SIGN IN</Text>
</View> </View>
</TouchableOpacity> </TouchableOpacity>
<View style={{flex : 1}}>
<Image source={require('../assets/images/file-register.png')} resizeMethod='resize' resizeMode='contain' style={{height:300, width:'100%'}}></Image>
</View>
</View> </View>
</ScrollView> </ScrollView>
</View> </View>
...@@ -477,8 +480,8 @@ const styles = StyleSheet.create({ ...@@ -477,8 +480,8 @@ const styles = StyleSheet.create({
marginHorizontal: 100, marginHorizontal: 100,
borderRadius: 15, borderRadius: 15,
paddingVertical: 5, paddingVertical: 5,
alignItems:'center', alignItems: 'center',
justifyContent:'center' justifyContent: 'center'
}, },
signin: { signin: {
marginTop: 25, marginTop: 25,
......
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