mirador
Version:
An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
24 lines (23 loc) • 591 B
JavaScript
import React from 'react';
import MinimalWindow from '../containers/MinimalWindow';
/**
* MosaicRenderPreview is used to for the preview when dragging a mosaic window/tile
*/
export function MosaicRenderPreview(props) {
var t = props.t,
title = props.title,
windowId = props.windowId;
return /*#__PURE__*/React.createElement(MinimalWindow, {
windowId: "".concat(windowId, "-preview"),
label: t('previewWindowTitle', {
title: title
}),
ariaLabel: false
});
}
MosaicRenderPreview.defaultProps = {
t: function t(k) {
return k;
},
title: ''
};