import { Tooltip } from "@humansignal/ui"; import { IconInfoOutline } from "@humansignal/icons"; type CardProps = { title: string; value: number | string; info: string; }; const Card = ({ title, value, info }: CardProps) => { return (
{title} {info && ( )}
{value}
); }; type Props = { values: CardProps[]; }; export const NumbersSummary = ({ values }: Props) => { return (
{values.map((value) => ( ))}
); };