24 lines
448 B
JavaScript
24 lines
448 B
JavaScript
|
/** @format */
|
||
|
/**
|
||
|
* External dependencies
|
||
|
*/
|
||
|
import { Component, Fragment } from '@wordpress/element';
|
||
|
|
||
|
/**
|
||
|
* Internal dependencies
|
||
|
*/
|
||
|
import { filters } from './config';
|
||
|
import { ReportFilters } from '@woocommerce/components';
|
||
|
|
||
|
export default class extends Component {
|
||
|
render() {
|
||
|
const { query, path } = this.props;
|
||
|
|
||
|
return (
|
||
|
<Fragment>
|
||
|
<ReportFilters query={ query } path={ path } filters={ filters } />
|
||
|
</Fragment>
|
||
|
);
|
||
|
}
|
||
|
}
|