woocommerce/plugins/woocommerce-admin/client/dashboard/index.js

33 lines
742 B
JavaScript
Raw Normal View History

/** @format */
/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { Component, Fragment } from '@wordpress/element';
/**
* Internal dependencies
*/
2018-08-02 23:10:55 +00:00
import './style.scss';
2018-09-05 20:52:35 +00:00
import ChartExample from 'components/chart/example-hour';
import Header from 'layout/header';
import StorePerformance from './store-performance';
2018-08-08 23:52:21 +00:00
import TopSellingProducts from './top-selling-products';
export default class Dashboard extends Component {
render() {
return (
<Fragment>
<Header sections={ [ __( 'Dashboard', 'wc-admin' ) ] } />
<StorePerformance />
2018-09-05 20:52:35 +00:00
<ChartExample />
2018-08-02 23:10:55 +00:00
<div className="woocommerce-dashboard__columns">
2018-08-06 22:34:47 +00:00
<div>
2018-08-08 23:52:21 +00:00
<TopSellingProducts />
2018-08-02 23:10:55 +00:00
</div>
</div>
</Fragment>
);
}
}