Event data report UI.
This commit is contained in:
13
components/pages/reports/ReportDetails.js
Normal file
13
components/pages/reports/ReportDetails.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import FunnelReport from './funnel/FunnelReport';
|
||||
import EventDataReport from './event-data/EventDataReport';
|
||||
|
||||
const reports = {
|
||||
funnel: FunnelReport,
|
||||
'event-data': EventDataReport,
|
||||
};
|
||||
|
||||
export default function ReportDetails({ reportId, reportType }) {
|
||||
const Report = reports[reportType];
|
||||
|
||||
return <Report reportId={reportId} />;
|
||||
}
|
||||
Reference in New Issue
Block a user