Skip to content

Commit

Permalink
updated cropped image styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vemarav committed Aug 3, 2021
1 parent 7f14c10 commit be7127c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/CroppedImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ const CroppedImage = ({route, navigation}: CroppedImageProps) => {
backgroundColor: '#454545',
},
image: {
width: SCREEN_WIDTH,
height: SCREEN_WIDTH * aspectRatio,
width: SCREEN_WIDTH / 1.3,
height: SCREEN_WIDTH / 1.3,
resizeMode: 'contain',
borderRadius: SCREEN_WIDTH / 1.3,
},
});

Expand Down

0 comments on commit be7127c

Please sign in to comment.