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.
28 lines (24 loc) • 745 B
JavaScript
import { compose } from 'redux';
import { connect } from 'react-redux';
import { withTranslation } from 'react-i18next';
import { withStyles } from '@material-ui/core/styles';
import { withPlugins } from '../extend/withPlugins';
import { CustomPanel } from '../components/CustomPanel';
/**
* mapStateToProps - to hook up connect
*/
var mapStateToProps = function mapStateToProps(state, _ref) {
var id = _ref.id,
windowId = _ref.windowId;
return {};
};
/**
*
* @param theme
* @returns {label: {paddingLeft: number}}}
*/
var styles = function styles(theme) {
return {};
};
var enhance = compose(withTranslation(), withStyles(styles), connect(mapStateToProps), withPlugins('CustomPanel'));
export default enhance(CustomPanel);