2016-04-29 14 views

Antwort

3
<Image source={imageSource} style={{position: "absolute", bottom: 0, right: 0}}/> 
4

Sie können justifyContent: 'flex-end' verwenden, dies zu erreichen:

const withWatermark = (asset, logo) => (
    <Image style={{ width: 200, height: 200, justifyContent: 'flex-end' }} source={asset}> 
    <Image style={{ width: 20, height: 20, alignSelf: 'flex-end' }} source={logo} /> 
    </Image> 
); 
+0

Dank, es funktioniert .. :) –

Verwandte Themen