2018-05-15 15:06:15 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
import { Component, Fragment } from '@wordpress/element';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
2018-06-28 13:52:45 +00:00
|
|
|
import Header from 'layout/header';
|
2018-05-23 23:15:52 +00:00
|
|
|
import DatePicker from 'components/date-picker';
|
2018-06-29 00:34:17 +00:00
|
|
|
import DropdownButton from 'components/dropdown-button';
|
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>
|
2018-07-10 12:48:06 +00:00
|
|
|
<Header sections={ [ __( 'Analytics', 'wc-admin' ) ] } />
|
2018-05-28 10:55:19 +00:00
|
|
|
<DatePicker query={ query } path={ path } />
|
2018-06-29 00:34:17 +00:00
|
|
|
<p>Example single line button - default width 100% of container</p>
|
|
|
|
<DropdownButton labels={ [ 'All Products Sold' ] } />
|
2018-05-15 15:06:15 +00:00
|
|
|
</Fragment>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|