Remove presentation style default value

This commit is contained in:
Maksim Bolshakov 2020-03-03 11:39:23 +01:00
parent 288cfa1e70
commit 3adc644ac4
1 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,6 @@ type Props = {
};
const DEFAULT_ANIMATION_TYPE = "fade";
const DEFAULT_PRESENTATION_STYLE = "fullScreen";
const DEFAULT_BG_COLOR = "#000";
const SCREEN = Dimensions.get("screen");
const SCREEN_WIDTH = SCREEN.width;
@ -54,7 +53,7 @@ function ImageViewing({
onImageIndexChange,
animationType = DEFAULT_ANIMATION_TYPE,
backgroundColor = DEFAULT_BG_COLOR,
presentationStyle = DEFAULT_PRESENTATION_STYLE,
presentationStyle,
swipeToCloseEnabled,
doubleTapToZoomEnabled,
HeaderComponent,