mirror of
https://github.com/strapi/strapi.git
synced 2025-08-17 05:02:12 +00:00
35 lines
698 B
JavaScript
35 lines
698 B
JavaScript
![]() |
/*
|
||
|
*
|
||
|
* 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));
|