Comparing version 5.1.0 to 5.1.1
import * as React from 'react'; | ||
import { GetContainer } from 'rc-util/lib/PortalWrapper'; | ||
import { PreviewProps } from './Preview'; | ||
import PreviewGroup from './PreviewGroup'; | ||
@@ -11,2 +12,3 @@ export interface ImagePreviewType { | ||
maskClassName?: string; | ||
icons?: PreviewProps['icons']; | ||
} | ||
@@ -13,0 +15,0 @@ export interface ImageProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'placeholder' | 'onClick'> { |
@@ -55,3 +55,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
previewMask = _ref2.mask, | ||
maskClassName = _ref2.maskClassName; | ||
maskClassName = _ref2.maskClassName, | ||
icons = _ref2.icons; | ||
@@ -208,3 +209,4 @@ var src = previewSrc !== null && previewSrc !== void 0 ? previewSrc : imgSrc; | ||
alt: alt, | ||
getContainer: getPreviewContainer | ||
getContainer: getPreviewContainer, | ||
icons: icons | ||
})); | ||
@@ -211,0 +213,0 @@ }; |
import * as React from 'react'; | ||
import { GetContainer } from 'rc-util/lib/PortalWrapper'; | ||
import { PreviewProps } from './Preview'; | ||
import PreviewGroup from './PreviewGroup'; | ||
@@ -11,2 +12,3 @@ export interface ImagePreviewType { | ||
maskClassName?: string; | ||
icons?: PreviewProps['icons']; | ||
} | ||
@@ -13,0 +15,0 @@ export interface ImageProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'placeholder' | 'onClick'> { |
@@ -76,3 +76,4 @@ "use strict"; | ||
previewMask = _ref2.mask, | ||
maskClassName = _ref2.maskClassName; | ||
maskClassName = _ref2.maskClassName, | ||
icons = _ref2.icons; | ||
@@ -229,3 +230,4 @@ var src = previewSrc !== null && previewSrc !== void 0 ? previewSrc : imgSrc; | ||
alt: alt, | ||
getContainer: getPreviewContainer | ||
getContainer: getPreviewContainer, | ||
icons: icons | ||
})); | ||
@@ -232,0 +234,0 @@ }; |
{ | ||
"name": "rc-image", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "React easy to use image component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71450
1800