madiator.com/ui/component/zoomableImage/index.js

10 lines
283 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import ZoomableImage from './view';
const perform = dispatch => ({
openModal: (modal, props) => dispatch(doOpenModal(modal, props)),
});
export default connect(null, perform)(ZoomableImage);