I am using react native to copy a bank app. However, the on the big picture, I created a screenshot of un functional component and inserted as an image.
The div is larger than the image and set a border of 1 px to see where is located.
I need to find a way please to align the image to the top and get rid of that padding from the top of the parent component. But nothing is working
<View>
<Image source={Icondet} resizeMode={'contain'}
style={{
width: '100%',
borderWidth: 1
}}/>
</View>
This is the component I am trying to modify
The image is too low and there is so much padding.
How can I solve this please?