Report updates.
This commit is contained in:
28
components/pages/reports/funnel/FunnelReport.js
Normal file
28
components/pages/reports/funnel/FunnelReport.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import FunnelChart from './FunnelChart';
|
||||
import FunnelTable from './FunnelTable';
|
||||
import FunnelParameters from './FunnelParameters';
|
||||
import Report from '../Report';
|
||||
import ReportHeader from '../ReportHeader';
|
||||
import ReportMenu from '../ReportMenu';
|
||||
import ReportBody from '../ReportBody';
|
||||
import Funnel from 'assets/funnel.svg';
|
||||
import { useReport } from 'hooks';
|
||||
|
||||
export default function FunnelReport({ reportId }) {
|
||||
const report = useReport(reportId);
|
||||
|
||||
console.log('REPORT', { report });
|
||||
|
||||
return (
|
||||
<Report>
|
||||
<ReportHeader icon={<Funnel />} report={report} />
|
||||
<ReportMenu>
|
||||
<FunnelParameters report={report} />
|
||||
</ReportMenu>
|
||||
<ReportBody>
|
||||
<FunnelChart report={report} />
|
||||
<FunnelTable report={report} />
|
||||
</ReportBody>
|
||||
</Report>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user