UNPKG

strapi-plugin-content-manager

Version:

A powerful UI to easily manage your data.

47 lines (38 loc) 1.12 kB
/* * Home */ import React from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { FormattedMessage } from 'react-intl'; import PluginHeader from 'components/PluginHeader'; import styles from './styles.scss'; export class Home extends React.Component { render() { return ( <div> <div className={`container-fluid ${styles.containerFluid}`}> <PluginHeader title={{ id: 'content-manager.containers.Home.pluginHeaderTitle', }} description={{ id: 'content-manager.containers.Home.pluginHeaderDescription', }} actions={[]} /> <p> <FormattedMessage id="content-manager.containers.Home.introduction" /> </p> </div> </div> ); } } Home.propTypes = {}; export function mapDispatchToProps() { return {}; } const mapStateToProps = createStructuredSelector({}); // Wrap the component to inject dispatch and state into it export default connect(mapStateToProps, mapDispatchToProps)(Home);