2018-05-15 15:06:15 +00:00
|
|
|
/** @format */
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
import { Component, Fragment } from '@wordpress/element';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
2018-09-21 15:19:05 +00:00
|
|
|
import Header from 'header';
|
2018-05-15 15:06:15 +00:00
|
|
|
|
|
|
|
export default class extends Component {
|
2018-08-28 19:15:24 +00:00
|
|
|
constructor( props ) {
|
|
|
|
super( props );
|
2018-09-03 02:08:13 +00:00
|
|
|
this.state = {
|
|
|
|
selected: [],
|
|
|
|
};
|
2018-08-28 19:15:24 +00:00
|
|
|
this.onChange = this.onChange.bind( this );
|
|
|
|
}
|
|
|
|
|
2018-09-03 02:08:13 +00:00
|
|
|
onChange( selected ) {
|
|
|
|
this.setState( { selected } );
|
2018-08-28 19:15:24 +00:00
|
|
|
}
|
|
|
|
|
2018-05-15 15:06:15 +00:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Fragment>
|
2018-07-10 12:48:06 +00:00
|
|
|
<Header sections={ [ __( 'Analytics', 'wc-admin' ) ] } />
|
2018-05-15 15:06:15 +00:00
|
|
|
</Fragment>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|