2018-04-17 23:51:48 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
2018-05-10 18:35:55 +00:00
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
import { Component, Fragment } from '@wordpress/element';
|
2018-04-17 23:51:48 +00:00
|
|
|
|
|
|
|
/**
|
2018-05-03 18:23:17 +00:00
|
|
|
* Internal dependencies
|
2018-04-17 23:51:48 +00:00
|
|
|
*/
|
2018-05-22 15:19:56 +00:00
|
|
|
import Agenda from './widgets/agenda';
|
2018-06-28 13:52:45 +00:00
|
|
|
import Header from 'layout/header';
|
2018-06-29 18:27:18 +00:00
|
|
|
import StorePerformance from './store-performance';
|
2018-06-15 18:11:25 +00:00
|
|
|
import Charts from './charts';
|
2018-04-17 23:51:48 +00:00
|
|
|
|
2018-05-18 17:31:08 +00:00
|
|
|
export default class Dashboard extends Component {
|
2018-04-17 23:51:48 +00:00
|
|
|
render() {
|
|
|
|
return (
|
2018-05-10 18:35:55 +00:00
|
|
|
<Fragment>
|
2018-07-10 12:48:06 +00:00
|
|
|
<Header sections={ [ __( 'Dashboard', 'wc-admin' ) ] } />
|
2018-06-29 18:27:18 +00:00
|
|
|
<StorePerformance />
|
2018-05-22 15:19:56 +00:00
|
|
|
<Agenda />
|
2018-06-15 18:11:25 +00:00
|
|
|
<Charts />
|
2018-05-10 18:35:55 +00:00
|
|
|
</Fragment>
|
2018-04-17 23:51:48 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|