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.

19 lines (15 loc) 530 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);