index.tsx 612 Bytes
Newer Older
Viacheslav Pavlov's avatar
Viacheslav Pavlov committed
1
2
3
4
5
import * as React from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';

// ui
6
import SubsetDisplay from 'subsets/ui/c/SubsetDisplay';
Viacheslav Pavlov's avatar
Viacheslav Pavlov committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import StepperTemplate from 'ui/common/stepper/StepperTemplate';

class ReviewAndPublishStep extends StepperTemplate<any> {
  protected renderContent = () => (
    <SubsetDisplay
      subset={ this.props.item }
    />
  )
}
const mapStateToProps = (state, ownProps) => ({
});

const mapDispatchToProps = (dispatch) => bindActionCreators({
}, dispatch);

export default connect(mapStateToProps, mapDispatchToProps)(ReviewAndPublishStep);