react-native-vision-cameraType aliases
PreviewResizeMode
type PreviewResizeMode = "cover" | "contain"Represents the resize mode for the PreviewView.
'cover': Upscales thePreviewViewto cover up the entire view and leave no blank space, possibly performing a center-crop transform to make up for aspect ratio differences.'contain': Centers thePreviewViewinside the view, possibly leaving blank space around the top/bottom, or left/right edges to make up for aspect ratio differences.