mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-02 22:14:43 +01:00
29 lines
772 B
JavaScript
29 lines
772 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';
|
|
|
|
const defaultParameters = {
|
|
type: '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>
|
|
);
|
|
}
|