mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 13:17:19 +01:00
15 lines
427 B
JavaScript
15 lines
427 B
JavaScript
import FunnelReport from './funnel/FunnelReport';
|
|
import EventDataReport from './event-data/EventDataReport';
|
|
import RetentionReport from './retention/RetentionReport';
|
|
|
|
const reports = {
|
|
funnel: FunnelReport,
|
|
'event-data': EventDataReport,
|
|
retention: RetentionReport,
|
|
};
|
|
|
|
export default function ReportDetails({ reportId, reportType }) {
|
|
const Report = reports[reportType];
|
|
|
|
return <Report reportId={reportId} />;
|
|
}
|