ForgetPasswordContainer.js
805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { Card } from 'antd';
import cx from 'classnames';
import s from './loginContainerLess.les';
import ForgetPasswordForm from '../components/ForgetPasswordForm';
class ForgetPasswordContainer extends React.Component {
constructor(props) {
super(props);
this.state = {
}
}
componentDidMount() {
}
componentWillReceiveProps(nextProps) {
}
componentWillUnmount() {
}
render() {
return (
<div className={cx('login_container')}>
<Card >
<ForgetPasswordForm dispatch={this.props.dispatch}></ForgetPasswordForm>
</Card>
</div>
)
}
}
const mapState = (state) => {
const { router } = state;
return {
'router': router
}
};
export default connect(mapState)(ForgetPasswordContainer);