We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081f1d9 commit 69192a5Copy full SHA for 69192a5
src/react-image-lightbox.js
@@ -1903,15 +1903,15 @@ ReactImageLightbox.defaultProps = {
1903
prevButtonImage: null,
1904
closeButtonImage: null,
1905
thumbnailImages: [],
1906
- closeButtonComponent: () => {},
+ closeButtonComponent: null,
1907
closeButtonComponentProps: {},
1908
- directionalButtonComponent: () => {},
+ directionalButtonComponent: null,
1909
directionalButtonComponentProps: {},
1910
- imageHeaderComponent: () => {},
+ imageHeaderComponent: null,
1911
maxHeightOffset: 0,
1912
maxWidthOffset: 0,
1913
- thumbnailArrowLeft: () => {},
1914
- thumbnailArrowRight: () => {},
+ thumbnailArrowLeft: null,
+ thumbnailArrowRight: null,
1915
widthBreakPoint: 960,
1916
};
1917
0 commit comments