import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip' import type { ElementType } from 'react' interface IconLabelProps { icon: ElementType tooltip: string required?: boolean } export function IconLabel({ icon: Icon, tooltip, required = false }: IconLabelProps) { return (
{required && *}

{tooltip}

) }