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.

16 lines (12 loc) 523 B
import { compose } from 'redux'; import { connect } from 'react-redux'; import { withPlugins } from '../extend/withPlugins'; import { fetchManifest, removeResource } from '../state/actions'; import { ManifestListItemError } from '../components/ManifestListItemError'; /** */ const mapDispatchToProps = { onDismissClick: removeResource, onTryAgainClick: fetchManifest, }; const enhance = compose(connect(null, mapDispatchToProps), withPlugins('ManifestListItemError')); export default enhance(ManifestListItemError);