import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/Tooltip' import { cn } from '@/lib/utils' const Text = ({ text, className, tooltipClassName, tooltip, side, onClick }: { text: string className?: string tooltipClassName?: string tooltip?: string side?: 'top' | 'right' | 'bottom' | 'left' onClick?: () => void }) => { if (!tooltip) { return ( ) } return ( {tooltip} ) } export default Text