34 lines
565 B
JavaScript
34 lines
565 B
JavaScript
/** @format */
|
|
/**
|
|
* External dependencies
|
|
*/
|
|
import { __ } from '@wordpress/i18n';
|
|
import { Component, Fragment } from '@wordpress/element';
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import Header from 'header';
|
|
|
|
export default class extends Component {
|
|
constructor( props ) {
|
|
super( props );
|
|
this.state = {
|
|
selected: [],
|
|
};
|
|
this.onChange = this.onChange.bind( this );
|
|
}
|
|
|
|
onChange( selected ) {
|
|
this.setState( { selected } );
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<Fragment>
|
|
<Header sections={ [ __( 'Analytics', 'wc-admin' ) ] } />
|
|
</Fragment>
|
|
);
|
|
}
|
|
}
|