React Image Gallery typings update (#43731)

Added fullscreen prop and fixed onErrorImageUrl name. https://github.com/xiaolin/react-image-gallery.
This commit is contained in:
Erik Parso
2020-04-13 16:55:37 -07:00
committed by GitHub
parent b47880401f
commit 7ed34eea4c
+2 -1
View File
@@ -26,6 +26,7 @@ export interface ReactImageGalleryItem {
thumbnailAlt?: string;
thumbnailLabel?: string;
thumbnailTitle?: string;
fullscreen?: string;
originalClass?: string;
thumbnailClass?: string;
renderItem?(item?: ReactImageGalleryItem): React.ReactNode;
@@ -52,7 +53,7 @@ export interface ReactImageGalleryProps {
disableSwipe?: boolean;
useBrowserFullscreen?: boolean;
preventDefaultTouchmoveEvent?: boolean;
onErrorImage?: string;
onErrorImageURL?: string;
indexSeparator?: string;
thumbnailPosition?: 'top' | 'right' | 'bottom' | 'left';
startIndex?: number;