mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
Use FormattedMessage. Updated icons. Fixed bugs.
This commit is contained in:
parent
3afe843461
commit
83a014e884
20 changed files with 129 additions and 84 deletions
|
|
@ -4,6 +4,7 @@ import { Heading, Icon, Row, RowProps, Text, Column } from '@umami/react-zen';
|
|||
export function PageHeader({
|
||||
title,
|
||||
description,
|
||||
label,
|
||||
icon,
|
||||
showBorder = true,
|
||||
children,
|
||||
|
|
@ -11,6 +12,7 @@ export function PageHeader({
|
|||
}: {
|
||||
title: string;
|
||||
description?: string;
|
||||
label?: ReactNode;
|
||||
icon?: ReactNode;
|
||||
showBorder?: boolean;
|
||||
allowEdit?: boolean;
|
||||
|
|
@ -26,7 +28,8 @@ export function PageHeader({
|
|||
width="100%"
|
||||
{...props}
|
||||
>
|
||||
<Column>
|
||||
<Column gap="2">
|
||||
{label}
|
||||
<Row alignItems="center" gap="3">
|
||||
{icon && (
|
||||
<Icon size="md" color="muted">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue