@seekora-ai/ui-sdk-react 0.2.27 → 0.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/index.js
CHANGED
|
@@ -9982,7 +9982,7 @@ function ImageZoom({ src, alt = '', mode = 'both', zoomLevel = 2.5, className, s
|
|
|
9982
9982
|
const imageStyle = {
|
|
9983
9983
|
width: '100%',
|
|
9984
9984
|
height: '100%',
|
|
9985
|
-
objectFit: 'cover',
|
|
9985
|
+
objectFit: style?.objectFit ?? 'cover',
|
|
9986
9986
|
display: 'block',
|
|
9987
9987
|
};
|
|
9988
9988
|
// Compute the indicator rectangle (what portion of the image the zoom panel shows).
|