/* eslint-disable no-unused-vars */
import React from 'react';
import PropTypes from 'prop-types';
class TemplateComponent extends React.Component {
render() {
return (
<div>
TemplateComponent
</div>
);
}
}
TemplateComponent.propTypes = {
};
TemplateComponent.defaultProps = {
};
export default TemplateComponent;
/* eslint-disable no-unused-vars */
import React from 'react';
import { connect } from 'dva';
// import common propTypes
import { PagePropTypes } from '../../utils/utils';
class Template extends React.Component {
render() {
return (
<div>
Template
</div>
);
}
}
Template.propTypes = {
...PagePropTypes,
};
export default connect(({ home }) => ({
home,
}))(Template);