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

26 lines
519 B
JavaScript
Raw Normal View History

/** @format */
/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { Component, Fragment } from '@wordpress/element';
/**
* Internal dependencies
*/
import Header from 'layout/header';
import StorePerformance from './store-performance';
import Chart from 'components/chart';
export default class Dashboard extends Component {
render() {
return (
<Fragment>
<Header sections={ [ __( 'Dashboard', 'wc-admin' ) ] } />
<StorePerformance />
<Chart />
</Fragment>
);
}
}