From 7ed34eea4cbdf3424e84d56f9393eeacf15e0ee9 Mon Sep 17 00:00:00 2001 From: Erik Parso <35962203+ErikParso@users.noreply.github.com> Date: Tue, 14 Apr 2020 01:55:37 +0200 Subject: [PATCH] React Image Gallery typings update (#43731) Added fullscreen prop and fixed onErrorImageUrl name. https://github.com/xiaolin/react-image-gallery. --- types/react-image-gallery/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-image-gallery/index.d.ts b/types/react-image-gallery/index.d.ts index 07252ce83f..c7de219cf9 100644 --- a/types/react-image-gallery/index.d.ts +++ b/types/react-image-gallery/index.d.ts @@ -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;