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.
16 lines (15 loc) • 499 B
JavaScript
import React from 'react';
import ns from '../config/css-ns';
import { PluginHook } from './PluginHook';
/** invisible area where background plugins can add to */
export var BackgroundPluginArea = function BackgroundPluginArea(props) {
return /*#__PURE__*/React.createElement("div", {
className: ns('background-plugin-area'),
style: {
display: 'none'
}
}, /*#__PURE__*/React.createElement(PluginHook, props));
};
BackgroundPluginArea.defaultProps = {
PluginComponents: []
};