Refresh mobile dashboard and header
This commit is contained in:
@@ -152,10 +152,12 @@ export function KpiTile({
|
||||
icon: IconCmp,
|
||||
label,
|
||||
value,
|
||||
note,
|
||||
}: {
|
||||
icon: React.ComponentType<{ size?: number; color?: string }>;
|
||||
label: string;
|
||||
value: string | number;
|
||||
note?: string;
|
||||
}) {
|
||||
const { accentSoft, primary, text } = useAdminTheme();
|
||||
return (
|
||||
@@ -178,6 +180,11 @@ export function KpiTile({
|
||||
<Text fontSize="$xl" fontWeight="800" color={text}>
|
||||
{value}
|
||||
</Text>
|
||||
{note ? (
|
||||
<Text fontSize="$xs" color={text} opacity={0.7}>
|
||||
{note}
|
||||
</Text>
|
||||
) : null}
|
||||
</MobileCard>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user