mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-08 18:37:47 +01:00
30 lines
829 B
JavaScript
30 lines
829 B
JavaScript
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 { REPORT_TYPES } from 'lib/constants';
|
|
|
|
const defaultParameters = {
|
|
type: REPORT_TYPES.funnel,
|
|
parameters: { window: 60, urls: [] },
|
|
};
|
|
|
|
export default function FunnelReport({ reportId }) {
|
|
return (
|
|
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
|
<ReportHeader icon={<Funnel />} />
|
|
<ReportMenu>
|
|
<FunnelParameters />
|
|
</ReportMenu>
|
|
<ReportBody>
|
|
<FunnelChart />
|
|
<FunnelTable />
|
|
</ReportBody>
|
|
</Report>
|
|
);
|
|
}
|