2018-05-15 15:06:15 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
import { Component, Fragment } from '@wordpress/element';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import Header from 'components/header';
|
2018-05-23 23:15:52 +00:00
|
|
|
import DatePicker from 'components/date-picker';
|
2018-05-15 15:06:15 +00:00
|
|
|
|
|
|
|
export default class extends Component {
|
|
|
|
render() {
|
2018-05-28 10:55:19 +00:00
|
|
|
const { query, path } = this.props;
|
2018-05-15 15:06:15 +00:00
|
|
|
return (
|
|
|
|
<Fragment>
|
|
|
|
<Header sections={ [ __( 'Analytics', 'woo-dash' ) ] } />
|
2018-05-28 10:55:19 +00:00
|
|
|
<DatePicker query={ query } path={ path } />
|
2018-05-15 15:06:15 +00:00
|
|
|
</Fragment>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|