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.
18 lines (14 loc) • 488 B
JavaScript
import { compose } from 'redux';
import { connect } from 'react-redux';
import { withPlugins } from '../extend/withPlugins';
import { getConfig } from '../state/selectors';
import { LabelValueMetadata } from '../components/LabelValueMetadata';
/** */
const mapStateToProps = (state) => ({
labelValueJoiner: getConfig(state).labelValueJoiner,
});
const enhance = compose(
connect(mapStateToProps),
withPlugins('LabelValueMetadata'),
);
export default enhance(LabelValueMetadata);