mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
Build svg into components.
This commit is contained in:
parent
fdc73268b7
commit
5682b4d217
64 changed files with 16267 additions and 176 deletions
|
|
@ -4,7 +4,7 @@ import { ReportMenu } from '../[reportId]/ReportMenu';
|
|||
import { ReportBody } from '../[reportId]/ReportBody';
|
||||
import { InsightsParameters } from './InsightsParameters';
|
||||
import { InsightsTable } from './InsightsTable';
|
||||
import Lightbulb from '@/assets/lightbulb.svg';
|
||||
import { Icons } from '@/components/icons';
|
||||
import { REPORT_TYPES } from '@/lib/constants';
|
||||
|
||||
const defaultParameters = {
|
||||
|
|
@ -15,7 +15,7 @@ const defaultParameters = {
|
|||
export function InsightsReport({ reportId }: { reportId?: string }) {
|
||||
return (
|
||||
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
||||
<ReportHeader icon={<Lightbulb />} />
|
||||
<ReportHeader icon={<Icons.Lightbulb />} />
|
||||
<ReportMenu>
|
||||
<InsightsParameters />
|
||||
</ReportMenu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue