When I am trying to load image from props i am getting the following error warning: failed prop type: invalid prop source supplied to image
source
image
<Image source={this.props.imgUri} style={{ height: 30, width: 30, resizeMode: 'contain', }} />
call it
<StyledInput text="NAME" imgUri={require('../assets/userIcon.png')} ></StyledInput>