import { Badge } from "@/components/ui/badge"; import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; interface Props { label: string; value: string; tooltip?: string; className?: string; } const InfoChip = ({ label, value, tooltip, className }: Props) => { const chip = ( {label} {value} ); if (!tooltip) { return chip; } return ( {chip} {tooltip} ); }; export default InfoChip;