UNPKG

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.

20 lines (16 loc) 544 B
import { connect } from 'react-redux'; import { compose } from 'redux'; import { withPlugins } from '../extend/withPlugins'; import * as actions from '../state/actions'; import { ManifestForm } from '../components/ManifestForm'; /** * mapDispatchToProps - used to hook up connect to action creators * @memberof ManifestForm * @private */ const mapDispatchToProps = { addResource: actions.addResource }; const enhance = compose( connect(null, mapDispatchToProps), withPlugins('ManifestForm'), ); export default enhance(ManifestForm);