react native place component top right of flexbox code example
Example: react native button top right
<View>
<Image
source={require('../images/AppIntro/1.png')}
style={{ width: '100%', height: 150 }}
/>
<Icon name="md-close"
style={{
position: 'absolute',
right: 5,
top: 5,
}} />
</View>