import { ReactNode } from 'react'; import { Box } from './Box'; import { Card } from './Card'; import { Stack } from './Stack'; import { Surface } from './Surface'; import { Text } from './Text'; interface HorizontalStatCardProps { label: string; value: string | number; subValue?: string; icon: ReactNode; iconBgColor?: string; } export function HorizontalStatCard({ label, value, subValue, icon, iconBgColor, }: HorizontalStatCardProps) { return ( {icon} {label} {value} {subValue && ( {subValue} )} ); }