35 lines
698 B
JavaScript
Raw Normal View History

/*
*
* List
*
*/
import React from 'react';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import { injectIntl } from 'react-intl';
import styles from './styles.scss';
export class List extends React.Component { // eslint-disable-line react/prefer-stateless-function
render() {
return (
<div>
<div className={styles.list}>
List View for {this.props.routeParams.slug}
</div>
</div>
);
}
}
function mapDispatchToProps(dispatch) {
return {
dispatch,
};
}
const mapStateToProps = createStructuredSelector({});
export default connect(mapStateToProps, mapDispatchToProps)(injectIntl(List));