Updated reports components.

This commit is contained in:
Mike Cao 2025-03-26 21:54:23 -07:00
parent f5bc3dc6c2
commit 0f6cdf8b80
95 changed files with 580 additions and 698 deletions

View file

@ -1,23 +0,0 @@
import { ReactNode } from 'react';
import { Heading, Icon, Row } from '@umami/react-zen';
export function PageHeader({
title,
icon,
children,
}: {
title?: ReactNode;
icon?: ReactNode;
className?: string;
children?: ReactNode;
}) {
return (
<Row justifyContent="space-between" alignItems="center">
<Row gap="3">
{icon && <Icon size="lg">{icon}</Icon>}
{title && <Heading>{title}</Heading>}
</Row>
<Row justifyContent="flex-end">{children}</Row>
</Row>
);
}