hello guys, I have this problem in external and internal images can someone tell me why? note: I installed all libs and settings.
import React from 'react';
import {View, Text, Button} from 'react-native';
import PropTypes from 'prop-types';
import SvgUri from 'react-native-svg-uri';
import loginFigure from '../../Assets/Image/loginFigure.svg';
import {title} from '../../Styles/Typography';
export default function SignIn({login}) {
return (
<View style={{flex: 1, alignItems: 'center', justifyContent: 'center'}}>
<SvgUri
width="200"
height="200"
source={{
uri:
'http://thenewcode.com/assets/images/thumbnails/homer-simpson.svg',
}}
/>
<Text style={title}> SignIn </Text>
<Button title="Login" onPress={() => login()} />
</View>
);
}
SignIn.propTypes = {
login: PropTypes.func.isRequired,
};
hello guys, I have this problem in external and internal images can someone tell me why? note: I installed all libs and settings.