woocommerce/plugins/woocommerce-admin/client/analytics/report/coupons/index.js

26 lines
533 B
JavaScript
Raw Normal View History

2018-09-17 02:26:34 +00:00
/** @format */
/**
* External dependencies
*/
import { Component, Fragment } from '@wordpress/element';
/**
* Internal dependencies
*/
import { filters } from './config';
import CouponsReportTable from './table';
2018-09-17 02:26:34 +00:00
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 } />
<CouponsReportTable query={ query } />
2018-09-17 02:26:34 +00:00
</Fragment>
);
}
}