I am new to react native. I have created a screen. in which I have added digital signature. when I dragged signature then I am saving its image in State. and then I am showing this state image on screen. but I am getting error like this = warning: Failed prop type: Invalid prop source
supplied to Image
. please help. here is code
const[Image1, setImage1]= useState(null);
const Image1 = result.pathName;
console.log("Response = "+Image1);
setImage1({Image1: Image1})
<Image
source={{uri : Image1}}
style={{
width: '100%',
height: 200,
resizeMode: 'contain',
}} />