mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
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:
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user