Skip to content

Commit 69192a5

Browse files
committed
address errors
1 parent 081f1d9 commit 69192a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/react-image-lightbox.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,15 +1903,15 @@ ReactImageLightbox.defaultProps = {
19031903
prevButtonImage: null,
19041904
closeButtonImage: null,
19051905
thumbnailImages: [],
1906-
closeButtonComponent: () => {},
1906+
closeButtonComponent: null,
19071907
closeButtonComponentProps: {},
1908-
directionalButtonComponent: () => {},
1908+
directionalButtonComponent: null,
19091909
directionalButtonComponentProps: {},
1910-
imageHeaderComponent: () => {},
1910+
imageHeaderComponent: null,
19111911
maxHeightOffset: 0,
19121912
maxWidthOffset: 0,
1913-
thumbnailArrowLeft: () => {},
1914-
thumbnailArrowRight: () => {},
1913+
thumbnailArrowLeft: null,
1914+
thumbnailArrowRight: null,
19151915
widthBreakPoint: 960,
19161916
};
19171917

0 commit comments

Comments
 (0)