You need to sign in or sign up before continuing.
Commit 1c391f9c by G

add styles for images modes. background, contain, cover

parent 588336b5
...@@ -20,7 +20,20 @@ export const containers = StyleSheet.create({ ...@@ -20,7 +20,20 @@ export const containers = StyleSheet.create({
export const images = StyleSheet.create({ export const images = StyleSheet.create({
cover: { cover: {
flex: 1,
width: "100%",
height: "100%",
resizeMode: "cover",
},
background: {
flex: 1,
resizeMode: "cover",
justifyContent: "center",
},
contain: {
flex: 1,
width: "100%", width: "100%",
height: "100%", height: "100%",
resizeMode: "contain",
}, },
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment