import clsx from 'clsx'; import { PropsWithChildren } from 'react'; import { Icon, IconProps } from '@/react/components/Icon'; interface Props extends IconProps { value: string | number; icon: IconProps['icon']; iconClass?: string; } export function StatsItem({ value, icon, children, iconClass, }: PropsWithChildren) { return ( {value} {children && ( {children} )} ); }